aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/BCP47.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/BCP47.hs b/src/Text/Pandoc/BCP47.hs
index 0f1421555..a9fb5c7a7 100644
--- a/src/Text/Pandoc/BCP47.hs
+++ b/src/Text/Pandoc/BCP47.hs
@@ -79,7 +79,7 @@ parseBCP47 lang =
region <- P.option "" pRegion
variants <- P.many (pVariant P.<|> pExtension P.<|> pPrivateUse)
P.eof
- return $ Lang{ langLanguage = language
+ return Lang{ langLanguage = language
, langScript = script
, langRegion = region
, langVariants = variants }