aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/asn1c.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-26 13:13:13 +0000
committerLev Walkin <vlm@lionet.info>2004-09-26 13:13:13 +0000
commit4e940a042f07f91a32a1893ff14d80903b2c78a7 (patch)
treed9c2ac1ef43f85f74e3e757a5dcee6c700a5ca02 /asn1c/asn1c.c
parent154aa18dd7f55a4e45b340ee13dde656f3f92198 (diff)
-fno-constraints
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 8c3a7e58..ad0cab43 100644
--- a/asn1c/asn1c.c
+++ b/asn1c/asn1c.c
@@ -91,6 +91,8 @@ main(int ac, char **av) {
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, "no-constraints") == 0) {
+ asn1_compiler_flags |= A1C_NO_CONSTRAINTS;
} else if(strcmp(optarg, "unnamed-unions") == 0) {
asn1_compiler_flags |= A1C_UNNAMED_UNIONS;
} else if(strcmp(optarg, "types88") == 0) {
@@ -309,6 +311,7 @@ usage(const char *av0) {
" -fbless-SIZE Allow SIZE() constraint for INTEGER etc (non-std.)\n"
" -fknown-extern-type=<name> Pretend this type is known\n"
" -fnative-types Use \"int\" instead of INTEGER_t whenever possible\n"
+" -fno-constraints Do not generate constraint checking code\n"
" -funnamed-unions Enable unnamed unions in structures\n"
" -ftypes88 Use only ASN.1:1988 embedded types\n"
"\n"