From: Paul Eggert Date: Sat, 10 Dec 2005 00:25:27 +0000 (+0000) Subject: * tests/sets.at (Accept): Fix typos in regular expression used to X-Git-Tag: v2.3b~554 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/0eca5a39a72e6e7435943ef0d120c3b717475d16?ds=sidebyside * tests/sets.at (Accept): Fix typos in regular expression used to sed out the final state number. --- diff --git a/ChangeLog b/ChangeLog index 292460fa..1af343c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-12-09 Paul Eggert + * tests/sets.at (Accept): Fix typos in regular expression used to + sed out the final state number. + Work around portability problem on Solaris 10: flex-generated files include before , which messes up because the latter defines __EXTENSIONS__. Address the problem diff --git a/tests/sets.at b/tests/sets.at index 262ccfa0..a731315b 100644 --- a/tests/sets.at +++ b/tests/sets.at @@ -281,7 +281,7 @@ input: AT_CHECK([[bison -v -o input.c input.y]]) # Get the final state in the parser. -AT_CHECK([sed -n 's/.*define YYFINAL *\([0-9][0-9]\)*/final state \1/p' input.c], +AT_CHECK([[sed -n 's/.*define YYFINAL *\([0-9][0-9]*\)/final state \1/p' input.c]], 0, [stdout]) mv stdout expout