diff --git a/src/Nixfmt/Parser/Float.hs b/src/Nixfmt/Parser/Float.hs index df50efe1..c5360b55 100644 --- a/src/Nixfmt/Parser/Float.hs +++ b/src/Nixfmt/Parser/Float.hs @@ -27,6 +27,7 @@ data SP = SP !Integer {-# UNPACK #-} !Int floatParse :: (MonadParsec e s m, Token s ~ Char, RealFloat a) => m a floatParse = do notFollowedBy $ (char '0') >> digitChar + notFollowedBy $ (char' 'e') c' <- (decimal "decimal") <|> return 0 toRealFloat <$> (( do