Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
8f294e08
Commit
8f294e08
authored
Jun 06, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
778556fa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
libasn1fix/asn1fix_param.c
libasn1fix/asn1fix_param.c
+2
-1
libasn1parser/asn1p_expr.c
libasn1parser/asn1p_expr.c
+2
-2
libasn1parser/asn1p_y.c
libasn1parser/asn1p_y.c
+5
-5
libasn1parser/asn1p_y.y
libasn1parser/asn1p_y.y
+1
-0
No files found.
libasn1fix/asn1fix_param.c
View file @
8f294e08
...
...
@@ -64,7 +64,8 @@ asn1f_fix_parametrized_assignment(arg_t *arg) {
&& (from)->tag.tag_class) { \
FATAL("Layered tagging in parametrization " \
"is not yet supported, " \
"contact asn1c author for assistance with"); \
"contact asn1c author for assistance " \
"with line %d", (to)->_lineno); \
return -1; \
} \
/* This code shall not be invoked too early */
\
...
...
libasn1parser/asn1p_expr.c
View file @
8f294e08
...
...
@@ -144,7 +144,7 @@ asn1p_expr_free(asn1p_expr_t *expr) {
char
*
asn1p_tag2string
(
struct
asn1p_type_tag_s
*
tag
,
char
*
buf
)
{
static
buf_stat
[
TAG2STRING_BUFFER_SIZE
];
static
char
buf_stat
[
TAG2STRING_BUFFER_SIZE
];
char
*
start
;
char
*
end
;
...
...
@@ -170,7 +170,7 @@ char *asn1p_tag2string(struct asn1p_type_tag_s *tag, char *buf) {
}
buf
+=
snprintf
(
buf
+
strlen
(
buf
),
end
-
buf
,
"%"
PRIdASN
"]"
,
tag
->
tag_value
);
assert
((
buf
-
end
)
>
sizeof
(
" IMPLICIT "
));
assert
((
unsigned
int
)(
buf
-
end
)
>
sizeof
(
" IMPLICIT "
));
switch
(
tag
->
tag_mode
)
{
case
TM_DEFAULT
:
break
;
...
...
libasn1parser/asn1p_y.c
View file @
8f294e08
...
...
@@ -394,7 +394,7 @@ static const short yyrline[] = { 0,
1876
,
1879
,
1884
,
1906
,
1911
,
1916
,
1922
,
1928
,
1936
,
1944
,
1952
,
1959
,
1969
,
1974
,
2004
,
2006
,
2009
,
2016
,
2022
,
2024
,
2025
,
2026
,
2029
,
2031
,
2032
,
2035
,
2040
,
2047
,
2054
,
2056
,
206
0
206
1
};
#endif
...
...
@@ -3410,7 +3410,7 @@ case 270:
;
break
;}
case
271
:
#line 206
1
"asn1p_y.y"
#line 206
2
"asn1p_y.y"
{
checkmem
(
yyvsp
[
0
].
tv_str
);
yyval
.
tv_str
=
yyvsp
[
0
].
tv_str
;
...
...
@@ -3490,7 +3490,7 @@ yyerrlab: /* here on detecting error */
count
=
0
;
/* Start X at -yyn if nec to avoid negative indexes in yycheck. */
for
(
x
=
(
yyn
<
0
?
-
yyn
:
0
);
x
<
(
s
size_t
)(
s
izeof
(
yytname
)
/
sizeof
(
char
*
));
x
++
)
x
<
(
sizeof
(
yytname
)
/
sizeof
(
char
*
));
x
++
)
if
(
yycheck
[
x
+
yyn
]
==
x
)
size
+=
strlen
(
yytname
[
x
])
+
15
,
count
++
;
msg
=
(
char
*
)
malloc
(
size
+
15
);
...
...
@@ -3502,7 +3502,7 @@ yyerrlab: /* here on detecting error */
{
count
=
0
;
for
(
x
=
(
yyn
<
0
?
-
yyn
:
0
);
x
<
(
s
size_t
)(
s
izeof
(
yytname
)
/
sizeof
(
char
*
));
x
++
)
x
<
(
sizeof
(
yytname
)
/
sizeof
(
char
*
));
x
++
)
if
(
yycheck
[
x
+
yyn
]
==
x
)
{
strcat
(
msg
,
count
==
0
?
", expecting `"
:
" or `"
);
...
...
@@ -3638,7 +3638,7 @@ yyerrhandle:
}
return
1
;
}
#line 206
7
"asn1p_y.y"
#line 206
8
"asn1p_y.y"
...
...
libasn1parser/asn1p_y.y
View file @
8f294e08
...
...
@@ -2056,6 +2056,7 @@ optIdentifier:
| Identifier {
$$ = $1;
}
;
Identifier:
TOK_identifier {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment