parser: avoids parser error while loading an empty file

This commit is contained in:
Felipe Zimmerle
2016-09-22 10:16:00 -03:00
parent 5553b2a5b9
commit 8f5c1c3cf6

View File

@@ -313,7 +313,11 @@ using modsecurity::Variables::XML;
input:
input line
END
{
return NULL;
}
| input line
| line
;