From: Michael Stapelberg Date: Wed, 21 Mar 2012 20:40:44 +0000 (+0100) Subject: cfgparse: leave EAT_WHITESPACE and BINDSYM_COND states on EOL (Thanks dothebart) X-Git-Tag: 4.2~47^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1f6fbaf240351a3559f25bc47286c47b29c1047f;p=i3%2Fi3 cfgparse: leave EAT_WHITESPACE and BINDSYM_COND states on EOL (Thanks dothebart) Fixes: #642 --- diff --git a/src/cfgparse.l b/src/cfgparse.l index 1566e24f..ab0c0d54 100644 --- a/src/cfgparse.l +++ b/src/cfgparse.l @@ -130,6 +130,8 @@ EOL (\r?\n) return '['; } [ \t]* { yy_pop_state(); } +{EOL} { yy_pop_state(); } +{EOL} { yy_pop_state(); } \"[^\"]+\" { yy_pop_state(); /* strip quotes */