diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-06-08 11:12:56 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-06-08 11:12:56 -0700 |
commit | c24b7991aa48c8628308ffddd22cee23e3126926 (patch) | |
tree | 9e5202a1cf641c76bc4aa848eb3299230c654e8c /src | |
parent | 9fc72d1ff2ca2afcf8921e5250c4267e989895e0 (diff) | |
download | pandoc-c24b7991aa48c8628308ffddd22cee23e3126926.tar.gz |
Fixed shadowing warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Biblio.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Biblio.hs b/src/Text/Pandoc/Biblio.hs index 38366ee26..cece13fba 100644 --- a/src/Text/Pandoc/Biblio.hs +++ b/src/Text/Pandoc/Biblio.hs @@ -138,7 +138,7 @@ toCslCite c ("",(x:_),AuthorInText) | not (isPunct x) -> [Str ",",Space] ++ s _ -> s - isPunct (Str (c:_)) = isPunctuation c + isPunct (Str (x:_)) = isPunctuation x isPunct _ = False citMode = case citationMode c of AuthorInText -> (True, False) |