mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08: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:
parent
61fcaf564a
commit
02b0cef4d8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user