patch applied (testsuite): Follow changes in pragma error reporting.

Thomas Schilling nominolo at googlemail.com
Fri Nov 21 11:07:14 EST 2008


Fri Nov 21 08:02:35 PST 2008  Thomas Schilling <nominolo at googlemail.com>
  * Follow changes in pragma error reporting.
  
  Parse errors in pragmas are now normal error messages and printed as
  such.  The full span info is still there, but not by default we only
  print the start of the region (for backwards compatibility).  GHC API
  clients will get the full source span info (and users can still get it
  via -ferror-spans).

    M ./tests/ghc-regress/driver/2499.stderr -2 +4
    M ./tests/ghc-regress/parser/should_fail/read029.stderr -1 +3
    M ./tests/ghc-regress/parser/should_fail/read030.stderr -1 +3
    M ./tests/ghc-regress/parser/should_fail/read044.stderr -2 +4

View patch online:
http://darcs.haskell.org/testsuite/_darcs/patches/20081121160235-7c5c6-9068fe323f1694a9441f14e1b7e83522c8729cdf.gz



More information about the Cvs-ghc mailing list