anansi 0.3.2 → 0.3.2.1
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
- anansi.cabal +1/−1
- lib/Anansi/Tangle.hs +1/−1
anansi.cabal view
@@ -1,5 +1,5 @@ name: anansi-version: 0.3.2+version: 0.3.2.1 synopsis: Simple literate programming preprocessor license: GPL-3 license-file: license.txt
lib/Anansi/Tangle.hs view
@@ -96,7 +96,7 @@ putPosition enableLine pos = do TangleState lastPos indent macros <- S.get let expectedPos = Position (positionFile lastPos) (positionLine lastPos + 1)- let filename = either id id FP.toText (positionFile pos)+ let filename = either id id (FP.toText (positionFile pos)) let line = if enableLine then "\n#line " ++ show (positionLine pos) ++ " " ++ show filename ++ "\n" else "\n"