]> git.saurik.com Git - bison.git/commit - tests/synclines.at
tests: adjust to GCC 4.8, which displays caret errors
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 26 Jul 2012 13:20:50 +0000 (15:20 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 26 Jul 2012 14:51:26 +0000 (16:51 +0200)
commit0bb672d87c92070276fdf92344e30a37e6852ea8
tree1d70f4eb0a8748de40ed19b5e96af57885634749
parent8617d87e24367e817e00d209b0de40944ce2964b
tests: adjust to GCC 4.8, which displays caret errors

With GCC 4.8, the tests on synclines are skipped.  Transform

  input.y:1:2: error: #error "1"
   #error "1"
    ^

into

  input.y:1: #error "1"

* tests/synclines.at (AT_SYNCLINES_COMPILE): Do it, using Perl instead of
sed.
tests/synclines.at