projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lalr1.cc: formatting changes
[bison.git]
/
src
/
scan-gram.l
diff --git
a/src/scan-gram.l
b/src/scan-gram.l
index 665e80de648989e7cff2038890361c94d4cc0219..555e695234d93dc70127f85c6b1a88371bc692bf 100644
(file)
--- 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));
}