]> git.saurik.com Git - bison.git/blobdiff - tests/headers.at
tests: do not use grep -q
[bison.git] / tests / headers.at
index 11b8c917035c14549da451c507c3dc31e1b4e0c0..0ad7ef3eeeaa33168d727583d05465ea0f45a5a0 100644 (file)
@@ -117,9 +117,9 @@ AT_SETUP([Several parsers])
 # nor yy* identifiers in the header.  Check that headers are
 # self-contained, and can be compiled by a C++ compiler.
 m4_pushdef([AT_TEST],
-[AT_BISON_OPTION_PUSHDEFS([%define api.prefix "$1_" $2])
+[AT_BISON_OPTION_PUSHDEFS([%define api.prefix {$1_} $2])
 AT_DATA_GRAMMAR([$1.y],
-[[%define api.prefix "$1_"
+[[%define api.prefix {$1_}
 $2
 %error-verbose
 %union