diff options
author | Lev Walkin <vlm@lionet.info> | 2006-03-16 10:03:35 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-03-16 10:03:35 +0000 |
commit | d370e9f57ecc00836b18bee44af026421bd9d63a (patch) | |
tree | aa0270b48a6b915337d34cb1664eac0ab017d5a0 /libasn1fix/asn1fix.c | |
parent | 57074f10d3e9b089582dde25e0d3ae33be913302 (diff) |
parsing WITH SYNTAX clauses
Diffstat (limited to 'libasn1fix/asn1fix.c')
-rw-r--r-- | libasn1fix/asn1fix.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libasn1fix/asn1fix.c b/libasn1fix/asn1fix.c index dbe18c21..21a5621f 100644 --- a/libasn1fix/asn1fix.c +++ b/libasn1fix/asn1fix.c @@ -188,8 +188,9 @@ asn1f_fix_module__phase_1(arg_t *arg) { /* Do not process the parametrized type just yet */ continue; - DEBUG("=== Now processing \"%s\" at line %d ===", - expr->Identifier, expr->_lineno); + DEBUG("=== Now processing \"%s\" (%d/0x%x) at line %d ===", + expr->Identifier, expr->meta_type, expr->expr_type, + expr->_lineno); assert(expr->meta_type != AMT_INVALID); /* @@ -223,9 +224,10 @@ asn1f_fix_module__phase_1(arg_t *arg) { RET2RVAL(ret, rvalue); /* - * Parse WITH SYNTAX in CLASSes. + * Parse class objects and fill up the object class with data. */ - ret = asn1f_parse_class_with_syntax(arg); + ret = asn1f_parse_class_object(arg); + RET2RVAL(ret, rvalue); /* * Resolve references in constraints. @@ -294,6 +296,9 @@ asn1f_fix_module__phase_2(arg_t *arg) { int ret; TQ_FOR(expr, &(arg->mod->members), next) { + } + + TQ_FOR(expr, &(arg->mod->members), next) { arg->expr = expr; if(expr->meta_type == AMT_PARAMTYPE) |