aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Lazar <lazar6@illinois.edu>2013-04-04 23:01:15 -0700
committerDavid Lazar <lazar6@illinois.edu>2013-04-04 23:01:15 -0700
commit100f8df43eb2dcef9ccbc02fbcca576d77467740 (patch)
tree58a7a38f7fac15cdfc41691b157fd3355d3c714c /src
parent7e4290561df141cef59b63400130d4495042408d (diff)
downloadpandoc-100f8df43eb2dcef9ccbc02fbcca576d77467740.tar.gz
Haddock reader: derive Show for Token, making debugging easier.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/Haddock/Lex.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Haddock/Lex.x b/src/Text/Pandoc/Readers/Haddock/Lex.x
index a84204e83..120e96ebf 100644
--- a/src/Text/Pandoc/Readers/Haddock/Lex.x
+++ b/src/Text/Pandoc/Readers/Haddock/Lex.x
@@ -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)