X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/985d7177e8aaedcabe48dd911077ddcc8f74891f..026816664ff8283a55f91915843a8ff0ac5cf86c:/src/scan-gram.l diff --git a/src/scan-gram.l b/src/scan-gram.l index 665e80de..555e6952 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -266,7 +266,7 @@ eqopt ([[:space:]]*=)? "%pure"[-_]"parser" DEPRECATED("%pure-parser"); "%token"[-_]"table" DEPRECATED("%token-table"); - "%"{id}|"%"{notletter}([[:graph:]])+ { + "%"{id} { complain (loc, complaint, _("invalid directive: %s"), quote (yytext)); }