aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/asn1c.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2010-10-07 08:25:37 +0000
committerLev Walkin <vlm@lionet.info>2010-10-07 08:25:37 +0000
commit34944f2afbe59314d4c6fd7058e30f85f9d4b3ab (patch)
tree5a1f09207405b2754a709be400b3ea009345189e /asn1c/asn1c.c
parent83f2a1cd8b088264b64a62b51733243281f590e3 (diff)
Added -fincludes-quoted to generate #includes in double instead of <angle> quotes.
Diffstat (limited to 'asn1c/asn1c.c')
-rw-r--r--asn1c/asn1c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/asn1c/asn1c.c b/asn1c/asn1c.c
index 742a0b23..08a3690c 100644
--- a/asn1c/asn1c.c
+++ b/asn1c/asn1c.c
@@ -97,6 +97,8 @@ main(int ac, char **av) {
asn1_compiler_flags |= A1C_NO_CONSTRAINTS;
} else if(strcmp(optarg, "no-include-deps") == 0) {
asn1_compiler_flags |= A1C_NO_INCLUDE_DEPS;
+ } else if(strcmp(optarg, "includes-quoted") == 0) {
+ asn1_compiler_flags |= A1C_INCLUDES_QUOTED;
} else if(strcmp(optarg, "unnamed-unions") == 0) {
asn1_compiler_flags |= A1C_UNNAMED_UNIONS;
} else if(strcmp(optarg, "skeletons-copy") == 0) {
@@ -454,6 +456,7 @@ usage(const char *av0) {
" -fbless-SIZE Allow SIZE() constraint for INTEGER etc (non-std.)\n"
" -fcompound-names Disambiguate C's struct NAME's inside top-level types\n"
" -findirect-choice Compile members of CHOICE as indirect pointers\n"
+" -fincludes-quoted Generate #includes in \"double\" instead of <angle> quotes\n"
" -fknown-extern-type=<name> Pretend the specified 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"