mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-28 18:35:42 +00:00
tests: port to Solaris 10 grep
* tests/scanner.at (Token numbers: $1): Use $EGREP, not grep -E.
This commit is contained in:
1 parent
071f43d5b7
commit
5c2c9fcb17
1 file changed
+1
-1
+1
-1
@@ -189,7 +189,7 @@ AT_FULL_COMPILE([input])
|
||||
# yacc.c, glr.c and glr.cc use 'yytranslate' (and YYTRANSLATE).
|
||||
# lalr1.cc uses 'translate_table' (and yytranslate_).
|
||||
# lalr1.d uses 'byte[] translate_table =' (and yytranslate_).
|
||||
AT_CHECK([[grep -Ec 'yytranslate\[\]|translate_table\[\]|translate_table =' input.]AT_LANG_EXT],
|
||||
AT_CHECK([[$EGREP -c 'yytranslate\[\]|translate_table\[\]|translate_table =' input.]AT_LANG_EXT],
|
||||
[ignore],
|
||||
[AT_TOKEN_RAW_IF([0], [1])[
|
||||
]])
|
||||
|
||||
Reference in new issue
Block a user