1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 07:25:44 +03:00

Revert "Swap the order of the setter’s params."

This reverts commit 6d7534d01c260a6427c5ea405eb7086ebd263c7c.
This commit is contained in:
Rob Rix 2017-08-03 15:37:55 -04:00
parent baffab585b
commit 291e6719db

View File

@ -345,8 +345,8 @@ data State ast grammar = State
makeState :: [ast] -> State ast grammar
makeState = State 0 (Info.Pos 1 1) Nothing Nothing 0
setNextSet :: Maybe IntSet.IntSet -> State ast grammar -> State ast grammar
setNextSet nextSet state = state { stateNextSet = nextSet }
setNextSet :: State ast grammar -> Maybe IntSet.IntSet -> State ast grammar
setNextSet state nextSet = state { stateNextSet = nextSet }
-- Instances