We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074296b commit 6b04276Copy full SHA for 6b04276
src/Language/Fortran/AST/Literal/Boz.hs
@@ -95,7 +95,7 @@ parseBoz s =
95
| p' == 'x' = Just $ BozPrefixZ Nonconforming
96
| otherwise = Nothing
97
where p' = Char.toLower p
98
- errInvalid = error "Language.Fortran.AST.BOZ.parseBoz: invalid BOZ string"
+ errInvalid = error ("Language.Fortran.AST.BOZ.parseBoz: invalid BOZ string: " <> show s)
99
-- | Remove the first and last elements in a list.
100
shave = tail . init
101
0 commit comments