bugfix: lexer: return to INITIAL state (Thanks dirkson)

'floating_modifier' after 'workspace' did not work because of wrong
state
This commit is contained in:
Michael Stapelberg 2010-01-08 18:56:01 +01:00
parent 1dcb4a39fd
commit aaf46bfc55

View 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; }