From d2cf6277ac179c9e8432d4c11a79e9f906a19bbc Mon Sep 17 00:00:00 2001 From: xleroy Date: Tue, 29 Jan 2013 10:15:34 +0000 Subject: Camlcoq.ml: bug in conversion Z to string PrintClight: forgot "$" prefix on temporary names git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2102 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- cfrontend/PrintClight.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cfrontend') diff --git a/cfrontend/PrintClight.ml b/cfrontend/PrintClight.ml index b05876a..7653f0c 100644 --- a/cfrontend/PrintClight.ml +++ b/cfrontend/PrintClight.ml @@ -40,7 +40,7 @@ let register_struct_union id fld = (* Naming temporaries *) -let temp_name (id: ident) = Z.to_string (Z.Zpos id) +let temp_name (id: ident) = "$" ^ Z.to_string (Z.Zpos id) (* Declarator (identifier + type) -- reuse from PrintCsyntax *) -- cgit v1.2.3