]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t enter BIND_A2WS_COND state too early (Thanks fallen)
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 22 Mar 2010 14:10:26 +0000 (15:10 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 22 Mar 2010 14:12:37 +0000 (15:12 +0100)
src/cfgparse.l

index 755065dd567194398b66d401da6f0d3b5a3f909c..10a13076c9f0a64349dac937ac354d27e344da23 100644 (file)
@@ -67,7 +67,7 @@ EOL   (\r?\n)
 
 
 <BIND_A2WS_COND>[^\n]+          { BEGIN(INITIAL); yylval.string = strdup(yytext); return STR; }
-<OUTPUT_AWS_COND>[a-zA-Z0-9_-]+ { BEGIN(BIND_A2WS_COND); yylval.string = strdup(yytext); return OUTPUT; }
+<OUTPUT_AWS_COND>[a-zA-Z0-9_-]+ { yylval.string = strdup(yytext); return OUTPUT; }
 ^[ \t]*#[^\n]*                  { return TOKCOMMENT; }
 <COLOR_COND>[0-9a-fA-F]+        { yylval.string = strdup(yytext); return HEX; }
 [0-9]+                          { yylval.number = atoi(yytext); return NUMBER; }