mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
parser: Adds support for continuation lines
This commit is contained in:
parent
ef99615401
commit
a230a4ff3c
@ -220,6 +220,8 @@ FREE_TEXT_NEW_LINE [^\"|\n]+
|
||||
{VARIABLENOCOLON} { return yy::seclang_parser::make_VARIABLE(yytext, *driver.loc.back()); }
|
||||
<INITIAL,EXPECTING_OPERATOR>{
|
||||
[ \t]+ { return yy::seclang_parser::make_SPACE(*driver.loc.back()); }
|
||||
[ \t]+\\\n { /* ignore */ }
|
||||
[ \t]+\\\r\n { /* ignore */ }
|
||||
}
|
||||
[\n]+ { driver.loc.back()->lines(yyleng); driver.loc.back()->step(); }
|
||||
#.* { /* comment, just ignore. */ }
|
||||
|
Loading…
x
Reference in New Issue
Block a user