diff options
author | Lev Walkin <vlm@lionet.info> | 2004-08-22 03:09:24 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-08-22 03:09:24 +0000 |
commit | 4ec3b4c088904c50ffc8c8ad06e11214d964e8c4 (patch) | |
tree | 27d43d8134da98ba305403f01f925d44b8cba7c4 /libasn1fix/asn1fix.c | |
parent | fd151ce59c714c2f93412d854565ecac0fbc66cd (diff) |
COMPONENTS OF support
Diffstat (limited to 'libasn1fix/asn1fix.c')
-rw-r--r-- | libasn1fix/asn1fix.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libasn1fix/asn1fix.c b/libasn1fix/asn1fix.c index 2a78aa13..48100791 100644 --- a/libasn1fix/asn1fix.c +++ b/libasn1fix/asn1fix.c @@ -117,7 +117,9 @@ asn1f_fix_module(arg_t *arg) { switch((arg->mod->module_flags & MSF_MASK_INSTRUCTIONS)) { case MSF_NOFLAGS: - //arg->mod->module_flags |= MSF_TAG_INSTRUCTIONS; + /* + * arg->mod->module_flags |= MSF_TAG_INSTRUCTIONS; + */ break; case MSF_unk_INSTRUCTIONS: WARNING("Module %s defined with unrecognized " @@ -277,6 +279,10 @@ asn1f_fix_constructed(arg_t *arg) { ret = asn1f_fix_constr_tag(arg); RET2RVAL(ret, rvalue); + /* Import COMPONENTS OF stuff */ + ret = asn1f_pull_components_of(arg); + RET2RVAL(ret, rvalue); + return rvalue; } @@ -287,12 +293,13 @@ asn1f_fix_constraints(arg_t *arg) { int rvalue = 0; int ret; - top_parent = asn1f_find_terminal_type(arg, arg->expr, NULL); + top_parent = asn1f_find_terminal_type(arg, arg->expr); if(top_parent) etype = top_parent->expr_type; else etype = A1TC_INVALID; - ret = asn1constraint_resolve(arg, arg->expr->constraints, etype, 0); + ret = asn1constraint_resolve(arg, arg->expr->module, + arg->expr->constraints, etype, 0); RET2RVAL(ret, rvalue); ret = asn1constraint_pullup(arg); |