diff options
| author | Simon Marlow <marlowsd@gmail.com> | 2010-10-02 19:51:00 +0000 |
|---|---|---|
| committer | Simon Marlow <marlowsd@gmail.com> | 2010-10-02 19:51:00 +0000 |
| commit | 4da6b4667527241d7e227de51adb1dc0997bab90 (patch) | |
| tree | 6c8162619dc0b3594ba61d2d297100a57b5c2076 | |
| parent | 8901e61c4705b8888676250e89731f40ca198751 (diff) | |
| download | haskell-4da6b4667527241d7e227de51adb1dc0997bab90.tar.gz | |
-fwarn-tabs: add "Warning" to the message
| -rw-r--r-- | compiler/parser/Lexer.x | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 2e17b8f128..f31e6231ef 100644 --- 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. |
