mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: port to Solaris 10 grep
* tests/scanner.at (Token numbers: $1): Use $EGREP, not grep -E.
This commit is contained in:
@@ -189,7 +189,7 @@ AT_FULL_COMPILE([input])
|
|||||||
# yacc.c, glr.c and glr.cc use 'yytranslate' (and YYTRANSLATE).
|
# yacc.c, glr.c and glr.cc use 'yytranslate' (and YYTRANSLATE).
|
||||||
# lalr1.cc uses 'translate_table' (and yytranslate_).
|
# lalr1.cc uses 'translate_table' (and yytranslate_).
|
||||||
# lalr1.d uses 'byte[] 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],
|
[ignore],
|
||||||
[AT_TOKEN_RAW_IF([0], [1])[
|
[AT_TOKEN_RAW_IF([0], [1])[
|
||||||
]])
|
]])
|
||||||
|
|||||||
Reference in New Issue
Block a user