Skip to content

Commit

Permalink
Fix 235_SymbolsOverlapTokens
Browse files Browse the repository at this point in the history
  • Loading branch information
gdziadkiewicz committed Jan 21, 2022
1 parent 55a6883 commit 1ae5a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/src/BNFC/Backend/FSharp/CFtoFSharpPrinter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ integerRule cf = unlines [
]

doubleRule cf = unlines [
"let rec prtFloat (_:int) (f:float) : Doc = render (sprintf \"%.14f\" f)",
"let rec prtFloat (_:int) (f:float) : Doc = render (f.ToString().ToLower())",
ifList cf (TokenCat catDouble),
""
]
Expand Down

0 comments on commit 1ae5a2a

Please sign in to comment.