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
Alex D
GHC
Commits
d2c42ab4
Commit
d2c42ab4
authored
Oct 29, 2009
by
simonpj@microsoft.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments and variable naming only
parent
29e9a63f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
compiler/parser/Lexer.x
compiler/parser/Lexer.x
+3
-3
No files found.
compiler/parser/Lexer.x
View file @
d2c42ab4
...
...
@@ -32,7 +32,7 @@
{
{-# OPTIONS -Wwarn -w #-}
-- The above warn
ing
supression flag is a temporary kludge.
-- The above
-W
warn supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See
-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
...
...
@@ -880,12 +880,12 @@ withLexedDocType lexDocComment = do
-- RULES pragmas turn on the forall and '.' keywords, and we turn them
-- off again at the end of the pragma.
rulePrag :: Action
rulePrag span _
_
= do
rulePrag span _
buf _len
= do
setExts (.|. bit inRulePragBit)
return (L span ITrules_prag)
endPrag :: Action
endPrag span _
_
= do
endPrag span _
buf _len
= do
setExts (.&. complement (bit inRulePragBit))
return (L span ITclose_prag)
...
...
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