From: Michael Stapelberg Date: Mon, 22 Mar 2010 14:10:26 +0000 (+0100) Subject: Bugfix: Don’t enter BIND_A2WS_COND state too early (Thanks fallen) X-Git-Tag: 3.e~6^2~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=42b638eac00f72cf96c91b1b8aa94f82187960c0;p=i3%2Fi3 Bugfix: Don’t enter BIND_A2WS_COND state too early (Thanks fallen) --- 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; }