Преглед изворни кода

Display TFloat without an "f" in genxml

Gama11 пре 11 година
родитељ
комит
6bc8883278
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      type.ml

+ 1 - 1
type.ml

@@ -860,7 +860,7 @@ let s_expr_kind e =
 
 let s_const = function
 	| TInt i -> Int32.to_string i
-	| TFloat s -> s ^ "f"
+	| TFloat s -> s
 	| TString s -> Printf.sprintf "\"%s\"" (Ast.s_escape s)
 	| TBool b -> if b then "true" else "false"
 	| TNull -> "null"