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
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

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