X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fparser%2FLexer.x;h=f31e6231ef9f1ef5e04e711a548dd28ffd8dffe0;hp=2e17b8f1284712513f58120f1dcc6d3c3bd39373;hb=4da6b4667527241d7e227de51adb1dc0997bab90;hpb=a6f2d598e1e7760d334d1b5ea0b7745e66835e11 diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 2e17b8f..f31e623 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.