projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8901e61
)
-fwarn-tabs: add "Warning" to the message
author
Simon Marlow
<marlowsd@gmail.com>
Sat, 2 Oct 2010 19:51:00 +0000
(19:51 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Sat, 2 Oct 2010 19:51:00 +0000
(19:51 +0000)
compiler/parser/Lexer.x
patch
|
blob
|
history
diff --git
a/compiler/parser/Lexer.x
b/compiler/parser/Lexer.x
index
2e17b8f
..
f31e623
100644
(file)
--- a/
compiler/parser/Lexer.x
+++ b/
compiler/parser/Lexer.x
@@
-140,7
+140,7
@@
haskell :-
-- everywhere: skip whitespace and comments
$white_no_nl+ ;
-$tab+ { warn Opt_WarnTabs (text "Tab character") }
+$tab+ { warn Opt_WarnTabs (text "Warning: Tab character") }
-- Everywhere: deal with nested comments. We explicitly rule out
-- pragmas, "{-#", so that we don't accidentally treat them as comments.