aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-11-06 14:58:54 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2010-11-06 14:58:54 -0700
commit23c6f56bc5bb5f7a994a60ccf1bb914366d74f81 (patch)
tree13e496115f40d31ce0a5a03414a94fa8df1745bc /src/Text/Pandoc/Readers
parentf7f6b2427d5bef595b819d30f16fb332397349d3 (diff)
downloadpandoc-23c6f56bc5bb5f7a994a60ccf1bb914366d74f81.tar.gz
Removed CITEPROC CPP conditionals from library code.
By Cabal policy, the API should not change depending on flags.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 0256184f6..a2ee93f42 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -912,9 +912,7 @@ inlineParsers = [ str
, note
, inlineNote
, link
-#ifdef _CITEPROC
, inlineCitation
-#endif
, image
, math
, strikeout
@@ -1305,7 +1303,6 @@ rawHtmlInline' = do
else anyHtmlInlineTag
return $ HtmlInline result
-#ifdef _CITEPROC
inlineCitation :: GenParser Char ParserState Inline
inlineCitation = try $ do
failIfStrict
@@ -1351,4 +1348,3 @@ parseLabel = try $ do
(False,True ) -> AuthorOnly
_ -> NormalCitation
return $ Citation cit (trim p') (trim loc) mode 0 0
-#endif