X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e52ddf820b9c9c123e4f3c3799fc1fb9b0a54c09..827aca04ebd852b63087d80d8e420bb325bb9bd5:/src/scan-gram.l?ds=inline diff --git a/src/scan-gram.l b/src/scan-gram.l index 58f6590b..cf8b220d 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -572,7 +572,7 @@ eqopt ([[:space:]]*=)? STRING_GROW; } - [^<>]+ STRING_GROW; + ([^<>]|->)+ STRING_GROW; "<"+ STRING_GROW; nesting += yyleng; <> unexpected_eof (token_start, ">");