sed out the final state number.
2005-12-09 Paul Eggert <eggert@cs.ucla.edu>
2005-12-09 Paul Eggert <eggert@cs.ucla.edu>
+ * 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 <stdio.h> before <config.h>, which messes up
because the latter defines __EXTENSIONS__. Address the problem
Work around portability problem on Solaris 10: flex-generated
files include <stdio.h> before <config.h>, which messes up
because the latter defines __EXTENSIONS__. Address the problem
AT_CHECK([[bison -v -o input.c input.y]])
# Get the final state in the parser.
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
0, [stdout])
mv stdout expout