Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
59300a71
Commit
59300a71
authored
Nov 29, 2009
by
Ian Lynagh
Browse files
Tweak alternative layout rule
parent
d8b99b7e
Changes
1
Show whitespace changes
Inline
Side-by-side
compiler/parser/Lexer.x
View file @
59300a71
...
...
@@ -2002,9 +2002,9 @@ alternativeLayoutRuleToken t
return (L thisLoc ITocurly)
| otherwise ->
do setAlrExpectingOCurly Nothing
setPendingImplicitTokens [L
this
Loc ITccurly]
setPendingImplicitTokens [L
last
Loc ITccurly]
setNextToken t
return (L
this
Loc ITocurly)
return (L
last
Loc ITocurly)
(_, _, Just expectingOCurly) ->
do setAlrExpectingOCurly Nothing
setALRContext (ALRLayout expectingOCurly thisCol : context)
...
...
Write
Preview
Supports
Markdown
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