aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1parser/asn1p_l.l
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-15 11:59:51 +0000
committerLev Walkin <vlm@lionet.info>2004-09-15 11:59:51 +0000
commit9c974183f7414934d21da76b504e41af040ab373 (patch)
treebf30b0e9da113f322edb0a8a99f145428fb80dd3 /libasn1parser/asn1p_l.l
parent5498f2d63a5b7e27b0ca86a1fd61db113c69f948 (diff)
DEFAULT type support
Diffstat (limited to 'libasn1parser/asn1p_l.l')
-rw-r--r--libasn1parser/asn1p_l.l9
1 files changed, 6 insertions, 3 deletions
diff --git a/libasn1parser/asn1p_l.l b/libasn1parser/asn1p_l.l
index 6a2a0cc7..efa4c1a1 100644
--- a/libasn1parser/asn1p_l.l
+++ b/libasn1parser/asn1p_l.l
@@ -285,7 +285,9 @@ WSP [\t\r\v\f\n ]
}
ABSENT return TOK_ABSENT;
+ /*
ABSTRACT-SYNTAX return TOK_ABSTRACT_SYNTAX;
+ */
ALL return TOK_ALL;
ANY {
/* Appeared in 1990, removed in 1997 */
@@ -485,9 +487,10 @@ WITH return TOK_WITH;
yylineno, yytext);
while(YYSTATE != INITIAL)
yy_pop_state();
- yy_top_state(); /* Just to use this function. */
- yyterminate();
- yy_fatal_error("Unexpected token");
+ if(0) {
+ yy_top_state(); /* Just to use this function. */
+ yy_fatal_error("Parse error");
+ }
return -1;
}