From d949a335e6cefdebc2c91f250d3a7d235889d2ee Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 8 Jan 2010 18:56:01 +0100 Subject: [PATCH] bugfix: lexer: return to INITIAL state (Thanks dirkson) 'floating_modifier' after 'workspace' did not work because of wrong state --- src/cfgparse.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5