From: Michael Stapelberg Date: Fri, 8 Jan 2010 17:56:01 +0000 (+0100) Subject: bugfix: lexer: return to INITIAL state (Thanks dirkson) X-Git-Tag: 3.e~6^2~164 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d949a335e6cefdebc2c91f250d3a7d235889d2ee;p=i3%2Fi3 bugfix: lexer: return to INITIAL state (Thanks dirkson) 'floating_modifier' after 'workspace' did not work because of wrong state --- diff --git a/src/cfgparse.l b/src/cfgparse.l index 0787f193..ac862a2e 100644 --- a/src/cfgparse.l +++ b/src/cfgparse.l @@ -33,7 +33,7 @@ mode { return TOKMODE; } bind { BEGIN(BIND_COND); return TOKBIND; } bindsym { BEGIN(BINDSYM_COND); return TOKBINDSYM; } -floating_modifier { return TOKFLOATING_MODIFIER; } +floating_modifier { BEGIN(INITIAL); return TOKFLOATING_MODIFIER; } workspace { BEGIN(INITIAL); return TOKWORKSPACE; } screen { BEGIN(SCREEN_COND); return TOKSCREEN; } terminal { BEGIN(BIND_AWS_COND); return TOKTERMINAL; }