Commit 196225f0 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Bug fix for alternative layout rule

parent 609e7ddf
...@@ -2050,7 +2050,7 @@ alternativeLayoutRuleToken t ...@@ -2050,7 +2050,7 @@ alternativeLayoutRuleToken t
do setALRContext ls do setALRContext ls
setPendingImplicitTokens [t] setPendingImplicitTokens [t]
return (L thisLoc ITccurly) return (L thisLoc ITccurly)
(ITin, _ : ls, _) -> (ITin, ALRLayout _ _ : ls, _) ->
do setALRContext ls do setALRContext ls
setNextToken t setNextToken t
return (L thisLoc ITccurly) return (L thisLoc ITccurly)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment