]> git.sur5r.net Git - i3/i3/commitdiff
bugfix: lexer: return to INITIAL state (Thanks dirkson)
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 8 Jan 2010 17:56:01 +0000 (18:56 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 8 Jan 2010 17:56:01 +0000 (18:56 +0100)
'floating_modifier' after 'workspace' did not work because of wrong
state

src/cfgparse.l

index 0787f193d4fefff18ef44dfa2929c76820f60f51..ac862a2e93382ffaf7963ae7849fcdbfff6be0c9 100644 (file)
@@ -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; }