]> git.saurik.com Git - bison.git/commitdiff
* tests/synclines.at (AT_SYNCLINES_COMPILE): Ignore the exit
authorAkim Demaille <akim@epita.fr>
Thu, 14 Nov 2002 11:09:51 +0000 (11:09 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 14 Nov 2002 11:09:51 +0000 (11:09 +0000)
status of the compiler.
Calling `exit 1' is no longer needed.
Reported by Nelson H. F. Beebe.

ChangeLog
tests/synclines.at

index 90cf933718995bfb0c1e74541a57d6cb0dd991ac..6336f9ffe509205c33b232a9c60aa003a9d689f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * tests/synclines.at (AT_SYNCLINES_COMPILE): Ignore the exit
        status of the compiler.
+       Calling `exit 1' is no longer needed.
        Reported by Nelson H. F. Beebe.
 
 2002-11-14  Akim Demaille  <akim@epita.fr>
index bf266236de431f6462f3df986df30586d37af121..0128e6b84e89ad79fc7012e0ebd758516a1a0535 100644 (file)
@@ -26,7 +26,7 @@ AT_BANNER([[User Actions.]])
 # (e.g. c89 on IRIX 6.5) triger warnings on `#error', instead of
 # errors.
 m4_define([AT_SYNCLINES_COMPILE],
-[AT_CHECK([$CC $CFLAGS $CPPFLAGS -c $1 || (exit 1)], [ignore], [], [stderr])
+[AT_CHECK([$CC $CFLAGS $CPPFLAGS -c $1], [ignore], [], [stderr])
 # In case GCC displays column information, strip it down.
 #
 #   input.y:4:2: #error "4"    or input.y:4.2: #error "4"