Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
4da6b466
Commit
4da6b466
authored
Oct 02, 2010
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-fwarn-tabs: add "Warning" to the message
parent
8901e61c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
compiler/parser/Lexer.x
compiler/parser/Lexer.x
+1
-1
No files found.
compiler/parser/Lexer.x
View file @
4da6b466
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment