summaryrefslogtreecommitdiff
path: root/cfrontend
diff options
context:
space:
mode:
Diffstat (limited to 'cfrontend')
-rw-r--r--cfrontend/PrintClight.ml2
1 files changed, 1 insertions, 1 deletions
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 *)