From 0eca5a39a72e6e7435943ef0d120c3b717475d16 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 10 Dec 2005 00:25:27 +0000 Subject: [PATCH 1/1] * tests/sets.at (Accept): Fix typos in regular expression used to sed out the final state number. --- ChangeLog | 3 +++ tests/sets.at | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.45.2