mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-29 10:55:40 +00:00
Haddock reader: derive Show for Token, making debugging easier.
This commit is contained in:
@@ -131,7 +131,7 @@ data Token
|
||||
| TokExamplePrompt String
|
||||
| TokExampleExpression String
|
||||
| TokExampleResult String
|
||||
-- deriving Show
|
||||
deriving Show
|
||||
|
||||
tokenPos :: LToken -> (Int, Int)
|
||||
tokenPos t = let AlexPn _ line col = snd t in (line, col)
|
||||
|
||||
Reference in New Issue
Block a user