Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.3
-
None
Description
The following script fails to parse because one of the string literals contains a backslash. The parser also reports an error in the wrong line.
require ["fileinto", "reject", "tag", "flag"];
- test
if allof (header :contains "to" "
") {
keep;
stop;
}
- test2
if anyof (header :contains "subject" "foo") {
keep;
stop;
}
org.apache.jsieve.parser.generated.TokenMgrError: Lexical error at line 14, column 0. Encountered: <EOF> after : "\")
{\n keep;\n stop;\n}\n"