Revert "new Werror report format fixed in a test"
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 21 Sep 2012 07:15:25 +0000 (09:15 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 21 Sep 2012 07:16:11 +0000 (09:16 +0200)
This reverts commit 41511178a71ebaf81bde7ffc682c575537af45cb.

tests/input.at

index e57990f..056e578 100644 (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]])