cfgparse: leave EAT_WHITESPACE and BINDSYM_COND states on EOL (Thanks dothebart)
Fixes: #642
This commit is contained in:
parent
7997fd667b
commit
1f6fbaf240
|
@ -130,6 +130,8 @@ EOL (\r?\n)
|
|||
return '[';
|
||||
}
|
||||
<EAT_WHITESPACE>[ \t]* { yy_pop_state(); }
|
||||
<EAT_WHITESPACE>{EOL} { yy_pop_state(); }
|
||||
<BINDSYM_COND>{EOL} { yy_pop_state(); }
|
||||
<WANT_QSTRING>\"[^\"]+\" {
|
||||
yy_pop_state();
|
||||
/* strip quotes */
|
||||
|
|
Loading…
Reference in New Issue