aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/asn1c.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-16 11:42:33 +0000
committerLev Walkin <vlm@lionet.info>2004-08-16 11:42:33 +0000
commitf9567e28122f2d0189e330d99e39046c94da4ad2 (patch)
treef797fb13329773197fed57c4bb3218c6e827942b /asn1c/asn1c.c
parentceea066275c34e9e27151a5e6839e72183b8511f (diff)
backward-compatible
Diffstat (limited to 'asn1c/asn1c.c')
-rw-r--r--asn1c/asn1c.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/asn1c/asn1c.c b/asn1c/asn1c.c
index dc55f85..1fc9e55 100644
--- a/asn1c/asn1c.c
+++ b/asn1c/asn1c.c
@@ -28,7 +28,7 @@ main(int ac, char **av) {
enum asn1p_flags asn1_parser_flags = A1P_NOFLAGS;
enum asn1f_flags asn1_fixer_flags = A1F_NOFLAGS;
enum asn1c_flags asn1_compiler_flags= A1C_NOFLAGS;
- enum asn1print_flags asn1_print_flags = APF_NOFLAGS;
+ enum asn1print_flags_e asn1_print_flags = APF_NOFLAGS;
int print_arg__print_out = 0; /* Don't compile, just print parsed */
int print_arg__fix_n_print = 0; /* Fix and print */
int warnings_as_errors = 0; /* Treat warnings as errors */
@@ -64,9 +64,6 @@ main(int ac, char **av) {
char *known_type = optarg + 18;
ret = asn1f_make_known_external_type(known_type);
assert(ret == 0 || errno == EEXIST);
- } else if(strcmp(optarg, "undoc") == 0) {
- /* Enable undocumented operation */
- asn1_print_flags |= APF_FULL_CONSTRAINTS;
} else {
fprintf(stderr, "-f%s: Invalid argument\n", optarg);
exit(EX_USAGE);