aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/asn1c.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-14 12:48:17 +0000
committerLev Walkin <vlm@lionet.info>2004-09-14 12:48:17 +0000
commit99301895819863aa4ccbf5253ce723d39434f747 (patch)
tree6527554db8c60149f4e5c397cb9fb1fac2e28295 /asn1c/asn1c.c
parentc78cbfbd7af24f5a224bb10a0bd19e8cb00b7e00 (diff)
-fnative-integers -> -fnative-types
Diffstat (limited to 'asn1c/asn1c.c')
-rw-r--r--asn1c/asn1c.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/asn1c/asn1c.c b/asn1c/asn1c.c
index d84d8642..9dd5dde3 100644
--- a/asn1c/asn1c.c
+++ b/asn1c/asn1c.c
@@ -63,7 +63,9 @@ main(int ac, char **av) {
ret = asn1f_make_known_external_type(known_type);
assert(ret == 0 || errno == EEXIST);
} else if(strcmp(optarg, "native-integers") == 0) {
- asn1_compiler_flags |= A1C_USE_NATIVE_INTEGERS;
+ asn1_compiler_flags |= A1C_USE_NATIVE_TYPES;
+ } else if(strcmp(optarg, "native-types") == 0) {
+ asn1_compiler_flags |= A1C_USE_NATIVE_TYPES;
} else if(strcmp(optarg, "unnamed-unions") == 0) {
asn1_compiler_flags |= A1C_UNNAMED_UNIONS;
} else if(strcmp(optarg, "types88") == 0) {
@@ -289,7 +291,7 @@ usage(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"
" -fknown-extern-type=<name> Pretend this type is known\n"
-" -fnative-integers Use int instead of INTEGER_t whenever possible\n"
+" -fnative-types Use \"int\" instead of INTEGER_t whenever possible\n"
" -funnamed-unions Enable unnamed unions in structures\n"
" -ftypes88 Use only ASN.1:1988 embedded types\n"
"\n"