From 42b638eac00f72cf96c91b1b8aa94f82187960c0 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 22 Mar 2010 15:10:26 +0100 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20enter=20BIND=5FA2WS=5F?= =?utf8?q?COND=20state=20too=20early=20(Thanks=20fallen)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cfgparse.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cfgparse.l b/src/cfgparse.l index 755065dd..10a13076 100644 --- a/src/cfgparse.l +++ b/src/cfgparse.l @@ -67,7 +67,7 @@ EOL (\r?\n) [^\n]+ { BEGIN(INITIAL); yylval.string = strdup(yytext); return STR; } -[a-zA-Z0-9_-]+ { BEGIN(BIND_A2WS_COND); yylval.string = strdup(yytext); return OUTPUT; } +[a-zA-Z0-9_-]+ { yylval.string = strdup(yytext); return OUTPUT; } ^[ \t]*#[^\n]* { return TOKCOMMENT; } [0-9a-fA-F]+ { yylval.string = strdup(yytext); return HEX; } [0-9]+ { yylval.number = atoi(yytext); return NUMBER; } -- 2.39.5