From bebfda62dcc90db9e7866c4b8e3709873dcf80ac Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 18 Aug 2018 09:09:43 -0700 Subject: Fix compiler warning. --- src/Text/Pandoc/Readers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index b385e4462..2f16738ac 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -746,7 +746,7 @@ dosiunitx = do siUnit :: PandocMonad m => LP m Inlines siUnit = do - Tok _ (CtrlSeq name) cmd <- anyControlSeq + Tok _ (CtrlSeq name) _ <- anyControlSeq if name == "square" then do unit <- grouped (mconcat <$> many1 siUnit) <|> siUnit <|> tok -- cgit v1.2.3