summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-06-30 01:30:20 +0100
committerIan Lynagh <igloo@earth.li>2012-06-30 01:30:20 +0100
commitf89d4fbdbe588e09d8551935ff383342c3d02cb0 (patch)
tree856f04593ec3395a7840e114c2e9901335fc1bae
parent39d766ee942a5395a103e9bfd60bac7062ceb70d (diff)
parentb2e89367ff030d1c64a20dfc06be03fe8840d982 (diff)
downloadhaskell-f89d4fbdbe588e09d8551935ff383342c3d02cb0.tar.gz
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
-rw-r--r--compiler/parser/Lexer.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 116db2526f..114f7f6b32 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -2002,7 +2002,7 @@ srcParseErr
-> MsgDoc
srcParseErr buf len
= hcat [ if null token
- then ptext (sLit "parse error (possibly incorrect indentation)")
+ then ptext (sLit "parse error (possibly incorrect indentation or mismatched brackets)")
else hcat [ptext (sLit "parse error on input "),
char '`', text token, char '\'']
]