aboutsummaryrefslogtreecommitdiffstats
path: root/epan/uat_load.l
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-01-30 00:05:22 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-01-30 00:05:22 +0000
commit518b8fb965166591c1b346192e2a0589c56efcb0 (patch)
treeb4ff63969879ce6bd3731815721c1fd4df754dec /epan/uat_load.l
parent99209b76ce3f221af831afeae19577b986b651ee (diff)
do not use yy_flex_realloc()
svn path=/trunk/; revision=20616
Diffstat (limited to 'epan/uat_load.l')
-rw-r--r--epan/uat_load.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/uat_load.l b/epan/uat_load.l
index 93f7118cc2..2408b04d08 100644
--- a/epan/uat_load.l
+++ b/epan/uat_load.l
@@ -3,7 +3,6 @@
%option prefix="uat_load_"
%option never-interactive
%option yylineno
-%option reject
%{
/*
@@ -91,7 +90,7 @@ newline [ \t]*[\r]?\n
ws [ \t]+
comment #[^\n]*\n
-%x START_OF_LINE NEXT_FIELD SEPARATOR END_OF_RECORD ERRORED UNUSED
+%x START_OF_LINE NEXT_FIELD SEPARATOR END_OF_RECORD ERRORED
%%
<START_OF_LINE,NEXT_FIELD>{ws} ;
<START_OF_LINE>{newline} ;
@@ -194,7 +193,6 @@ comment #[^\n]*\n
{newline} { ERROR(("incomplete record")); }
. { ERROR(("unexpected input")); }
-<UNUSED>\042\042\042 { yy_flex_realloc(NULL,1); REJECT;} /* avoid cc warnings about unused labels and functions */
%%
static int xton(char d) {