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:
Hartmut Holzgraefe 2000-06-07 05:47:24 +00:00
parent 61fcaf564a
commit 02b0cef4d8

View File

@ -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: