Revert "new Werror report format fixed in a test"

This reverts commit 41511178a7.
This commit is contained in:
Akim Demaille
2012-09-21 09:15:25 +02:00
parent 41511178a7
commit fcd7e48cb6

View File

@@ -1460,7 +1460,7 @@ AT_BISON_CHECK([[-Wno-none input.y]], [[0]], [[]],
AT_BISON_CHECK([[-Werror,none,yacc input.y]], [[1]], [[]], [[stderr]])
AT_CHECK([[sed 's/^.*bison:/bison:/' stderr]], [[0]],
[[bison: warnings being treated as errors
input.y:2.1-7: error: POSIX Yacc forbids dashes in symbol names: foo-bar [-Werror=yacc]
input.y:2.1-7: warning: POSIX Yacc forbids dashes in symbol names: foo-bar [-Wyacc]
]])
[mv stderr experr]
AT_BISON_CHECK([[-Werror,no-all,yacc input.y]], [[1]], [[]], [[experr]])