[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fix regex typos in new "Accept" test for Bison
From: |
Paul Eggert |
Subject: |
fix regex typos in new "Accept" test for Bison |
Date: |
Fri, 09 Dec 2005 16:28:30 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
I installed this. The old regular expression was clearly bogus, but
the sed command just happened to work anyway -- except that it ran
into a bug on Solaris 10 sed, which doesn't work with weird
expressions like that. A comedy of errors.
2005-12-09 Paul Eggert <address@hidden>
* tests/sets.at (Accept): Fix typos in regular expression used to
sed out the final state number.
--- tests/sets.at 3 Nov 2005 16:23:21 -0000 1.20
+++ tests/sets.at 10 Dec 2005 00:25:15 -0000
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- fix regex typos in new "Accept" test for Bison,
Paul Eggert <=