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
bc55d234
Commit
bc55d234
authored
Aug 13, 2004
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed multiple imports problem
parent
d83fae9d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
253 additions
and
251 deletions
+253
-251
libasn1parser/asn1p_y.c
libasn1parser/asn1p_y.c
+246
-245
libasn1parser/asn1p_y.h
libasn1parser/asn1p_y.h
+3
-3
libasn1parser/asn1p_y.y
libasn1parser/asn1p_y.y
+4
-3
No files found.
libasn1parser/asn1p_y.c
View file @
bc55d234
This diff is collapsed.
Click to expand it.
libasn1parser/asn1p_y.h
View file @
bc55d234
...
...
@@ -23,8 +23,8 @@
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
#ifndef BISON_
Y_TAB
_H
# define BISON_
Y_TAB
_H
#ifndef BISON_
ASN_P_Y
_H
# define BISON_
ASN_P_Y
_H
/* Tokens. */
#ifndef YYTOKENTYPE
...
...
@@ -274,5 +274,5 @@ typedef union {
extern
YYSTYPE
asn1p_lval
;
#endif
/* not BISON_
Y_TAB
_H */
#endif
/* not BISON_
ASN_P_Y
_H */
libasn1parser/asn1p_y.y
View file @
bc55d234
...
...
@@ -456,12 +456,13 @@ ModuleSpecificationBody:
#error MY_IMPORT DEFINED ELSEWHERE!
#endif
#define MY_IMPORT(foo,field) do { \
if
(TQ_FIRST(&($2->foo))) { \
while
(TQ_FIRST(&($2->foo))) { \
TQ_ADD(&($$->foo), \
TQ_REMOVE(&($2->foo), field), \
field); \
assert(TQ_FIRST(&($2->foo)) == 0); \
} } while(0)
} \
assert(TQ_FIRST(&($2->foo)) == 0); \
} while(0)
MY_IMPORT(imports, xp_next);
MY_IMPORT(exports, xp_next);
...
...
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