bugfix: lexer: return to INITIAL state (Thanks dirkson)
'floating_modifier' after 'workspace' did not work because of wrong state
This commit is contained in:
parent
1dcb4a39fd
commit
aaf46bfc55
|
@ -33,7 +33,7 @@
|
||||||
mode { return TOKMODE; }
|
mode { return TOKMODE; }
|
||||||
bind { BEGIN(BIND_COND); return TOKBIND; }
|
bind { BEGIN(BIND_COND); return TOKBIND; }
|
||||||
bindsym { BEGIN(BINDSYM_COND); return TOKBINDSYM; }
|
bindsym { BEGIN(BINDSYM_COND); return TOKBINDSYM; }
|
||||||
floating_modifier { return TOKFLOATING_MODIFIER; }
|
floating_modifier { BEGIN(INITIAL); return TOKFLOATING_MODIFIER; }
|
||||||
workspace { BEGIN(INITIAL); return TOKWORKSPACE; }
|
workspace { BEGIN(INITIAL); return TOKWORKSPACE; }
|
||||||
screen { BEGIN(SCREEN_COND); return TOKSCREEN; }
|
screen { BEGIN(SCREEN_COND); return TOKSCREEN; }
|
||||||
terminal { BEGIN(BIND_AWS_COND); return TOKTERMINAL; }
|
terminal { BEGIN(BIND_AWS_COND); return TOKTERMINAL; }
|
||||||
|
|
Loading…
Reference in New Issue