[3.3] fix to testsuite files which now get syntax error from new bison
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon May 12 16:49:00 GMT 2003
> - if ('A' == x) && ('B' == y)) { } /* { dg-error "parse error" } */
> + if ('A' == x) && ('B' == y)) { } /* { dg-error "parse|syntax error" } */
I think your regexp only works by chance. I.e. it resolves to:
"parse" or "syntax error"
not:
"parse error" or "syntax error"
as we want.
The convention we've been using to fix these is:
"(parse|syntax) error".
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc-patches
mailing list