Skip to content

Commit

Permalink
fix tiny bug in pattern match
Browse files Browse the repository at this point in the history
  • Loading branch information
m-schmidt committed Feb 6, 2017
1 parent 5a8e4b9 commit 6f6960e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/alex.xml
Expand Up @@ -1299,7 +1299,7 @@ alexGetByte (_,[],(c:s)) = case utf8Encode c of
(b:bs) -> Just (b, (c, bs, s))

alexInputPrevChar :: AlexInput -> Char
alexInputPrevChar (c,_) = c
alexInputPrevChar (c,_,_) = c

-- alexScanTokens :: String -> [token]
alexScanTokens str = go ('\n',[],str)
Expand Down

0 comments on commit 6f6960e

Please sign in to comment.