/[bison]/bison/tests/synclines.at
ViewVC logotype

Diff of /bison/tests/synclines.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by eggert, Mon Oct 14 08:43:36 2002 UTC revision 1.8 by akim, Thu Nov 14 11:07:00 2002 UTC
# Line 21  AT_BANNER([[User Actions.]]) Line 21  AT_BANNER([[User Actions.]])
21    
22  # AT_SYNCLINES_COMPILE(FILE)  # AT_SYNCLINES_COMPILE(FILE)
23  # --------------------------  # --------------------------
24  # Compile FILE expecting an error, and save in the file stdout the normalized  # Compile FILE expecting an error, and save in the file stdout the
25  # output.  # normalized output.  Ignore the exit status, since some compilers
26    # (e.g. c89 on IRIX 6.5) triger warnings on `#error', instead of
27    # errors.
28  m4_define([AT_SYNCLINES_COMPILE],  m4_define([AT_SYNCLINES_COMPILE],
29  [AT_CHECK([$CC $CFLAGS $CPPFLAGS -c $1 || (exit 1)], 1, [], [stderr])  [AT_CHECK([$CC $CFLAGS $CPPFLAGS -c $1 || (exit 1)], [ignore], [], [stderr])
30  # In case GCC displays column information, strip it down.  # In case GCC displays column information, strip it down.
31  #  #
32  #   input.y:4:2: #error "4"    or input.y:4.2: #error "4"  #   input.y:4:2: #error "4"    or input.y:4.2: #error "4"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26