Commit a7580ed4 authored by Lev Walkin's avatar Lev Walkin

different marker semantics

parent 6e8da2ba
......@@ -533,9 +533,9 @@ asn1print_expr(asn1p_t *asn, asn1p_module_t *mod, asn1p_expr_t *tc, enum asn1pri
* Print the expression as it were a stand-alone type.
*/
asn1print_expr(asn, mod, se, flags, level + 4);
if(se->marker & EM_DEFAULT)
if((se->marker & EM_DEFAULT) == EM_DEFAULT)
printf(" DEFAULT <?>");
else if(se->marker & EM_OPTIONAL)
else if((se->marker & EM_OPTIONAL) == EM_OPTIONAL)
printf(" OPTIONAL");
if(TQ_NEXT(se, next)) {
printf(",");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment