mirror of
https://github.com/php/php-src.git
synced 2026-04-10 17:43:13 +02:00
cyscape's "current" browscap.ini file doesn't terminate the last line
in the file with a newline character this resulted in a parse error
This commit is contained in:
@@ -548,6 +548,7 @@ string_or_value:
|
||||
| CFG_TRUE { $$ = $1; }
|
||||
| CFG_FALSE { $$ = $1; }
|
||||
| '\n' { $$.value.str.val = strdup(""); $$.value.str.len=0; $$.type = IS_STRING; }
|
||||
| '\0' { $$.value.str.val = strdup(""); $$.value.str.len=0; $$.type = IS_STRING; }
|
||||
;
|
||||
|
||||
expr:
|
||||
|
||||
Reference in New Issue
Block a user