aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2013-10-11 14:29:38 -0700
committerLev Walkin <vlm@lionet.info>2013-10-11 14:29:38 -0700
commit4062b01cd5bf6c5b616065a42e56abfa00e2a139 (patch)
tree845e7d65b25134d0acb7999ff9e9a59dbfe2a9a7 /asn1c
parent214203349309e4e3f158eb773d498a4312ded43c (diff)
add -fline-refs
Diffstat (limited to 'asn1c')
-rw-r--r--asn1c/asn1c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/asn1c/asn1c.c b/asn1c/asn1c.c
index b4fcba1d..0ca5c0b8 100644
--- a/asn1c/asn1c.c
+++ b/asn1c/asn1c.c
@@ -96,6 +96,8 @@ main(int ac, char **av) {
asn1_compiler_flags &= ~A1C_USE_WIDE_TYPES;
} else if(strcmp(optarg, "wide-types") == 0) {
asn1_compiler_flags |= A1C_USE_WIDE_TYPES;
+ } else if(strcmp(optarg, "line-refs") == 0) {
+ asn1_compiler_flags |= A1C_LINE_REFS;
} else if(strcmp(optarg, "no-constraints") == 0) {
asn1_compiler_flags |= A1C_NO_CONSTRAINTS;
} else if(strcmp(optarg, "no-include-deps") == 0) {
@@ -464,6 +466,7 @@ usage(const char *av0) {
" -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"
+" -fline-refs Include ASN.1 module's line numbers in comments\n"
" -fno-constraints Do not generate constraint checking code\n"
" -fno-include-deps Do not generate courtesy #includes for dependencies\n"
" -funnamed-unions Enable unnamed unions in structures\n"