]> git.saurik.com Git - bison.git/blobdiff - src/scan-gram.l
tests: skip C++ tests that are too demanding for some compilers
[bison.git] / src / scan-gram.l
index 665e80de648989e7cff2038890361c94d4cc0219..555e695234d93dc70127f85c6b1a88371bc692bf 100644 (file)
@@ -266,7 +266,7 @@ eqopt    ([[:space:]]*=)?
   "%pure"[-_]"parser"               DEPRECATED("%pure-parser");
   "%token"[-_]"table"               DEPRECATED("%token-table");
 
   "%pure"[-_]"parser"               DEPRECATED("%pure-parser");
   "%token"[-_]"table"               DEPRECATED("%token-table");
 
-  "%"{id}|"%"{notletter}([[:graph:]])+ {
+  "%"{id} {
     complain (loc, complaint, _("invalid directive: %s"), quote (yytext));
   }
 
     complain (loc, complaint, _("invalid directive: %s"), quote (yytext));
   }