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
21d00009
Commit
21d00009
authored
Mar 04, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-fcompound-names
parent
80ec40aa
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
233 additions
and
143 deletions
+233
-143
asn1c/asn1c.c
asn1c/asn1c.c
+3
-2
libasn1compiler/asn1c_C.c
libasn1compiler/asn1c_C.c
+224
-139
libasn1parser/asn1p_expr.h
libasn1parser/asn1p_expr.h
+6
-2
No files found.
asn1c/asn1c.c
View file @
21d00009
...
...
@@ -75,8 +75,8 @@ main(int ac, char **av) {
asn1_compiler_flags
|=
A1C_ALL_DEFS_GLOBAL
;
}
else
if
(
strcmp
(
optarg
,
"bless-SIZE"
)
==
0
)
{
asn1_fixer_flags
|=
A1F_EXTENDED_SizeConstraint
;
}
else
if
(
strcmp
(
optarg
,
"
double-identifier
s"
)
==
0
)
{
asn1_compiler_flags
|=
A1C_
DOUBLE_IDENTIFIER
S
;
}
else
if
(
strcmp
(
optarg
,
"
compound-name
s"
)
==
0
)
{
asn1_compiler_flags
|=
A1C_
COMPOUND_NAME
S
;
}
else
if
(
strncmp
(
optarg
,
"known-extern-type="
,
18
)
==
0
)
{
char
*
known_type
=
optarg
+
18
;
ret
=
asn1f_make_known_external_type
(
known_type
);
...
...
@@ -309,6 +309,7 @@ usage(const char *av0) {
" -fall-defs-global Don't make the asn1_DEF_'s of structure members
\"
static
\"\n
"
" -fbless-SIZE Allow SIZE() constraint for INTEGER etc (non-std.)
\n
"
" -fcompound-names Disambiguate C's struct NAME's inside top-level types
\n
"
" -fknown-extern-type=<name> Pretend this type is known
\n
"
" -fnative-types Use
\"
long
\"
instead of INTEGER_t whenever possible, etc.
\n
"
" -fno-constraints Do not generate constraint checking code
\n
"
...
...
libasn1compiler/asn1c_C.c
View file @
21d00009
This diff is collapsed.
Click to expand it.
libasn1parser/asn1p_expr.h
View file @
21d00009
...
...
@@ -184,7 +184,7 @@ typedef struct asn1p_expr_s {
int
unique
;
/* UNIQUE */
/*
* Whether automatic tagging
is applicable
for subtypes.
* Whether automatic tagging
may be applied
for subtypes.
*/
int
auto_tags_OK
;
...
...
@@ -217,7 +217,11 @@ typedef struct asn1p_expr_s {
TM_RECURSION
,
/* Used to break recursion */
}
_mark
;
int
_anonymous_type
;
/* Used by the compiler */
/*
* Some tags used by the compiler.
*/
int
_anonymous_type
;
/* This type is unnamed */
int
_type_unique_index
;
/* A per top-level-type unique index */
/*
* Opaque data may be attached to this structure,
...
...
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