Parcourir la source

Display TFloat without an "f" in genxml

Gama11 il y a 11 ans
Parent
commit
6bc8883278
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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"