aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2015-03-17 17:06:19 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2015-03-17 17:06:19 -0700
commit0a82e7e4b1d912108d0dc909d7e4969464b28fd8 (patch)
tree35a2ec6165741773bec8f0505080af75be7b4117 /src/Text/Pandoc/Readers
parente0d234e54d18a82a7c90aa3946f890140e200051 (diff)
downloadpandoc-0a82e7e4b1d912108d0dc909d7e4969464b28fd8.tar.gz
Fixed a compiler warning.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/CommonMark.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/CommonMark.hs b/src/Text/Pandoc/Readers/CommonMark.hs
index dfad7adc2..f8a2ec28e 100644
--- a/src/Text/Pandoc/Readers/CommonMark.hs
+++ b/src/Text/Pandoc/Readers/CommonMark.hs
@@ -82,7 +82,7 @@ addBlock (Node _ (LIST listAttrs) nodes) =
delim = case listDelim listAttrs of
PERIOD_DELIM -> Period
PAREN_DELIM -> OneParen
-addBlock (Node _ ITEM nodes) = id -- handled in LIST
+addBlock (Node _ ITEM _) = id -- handled in LIST
addBlock _ = id
children :: Node -> [Node]