Skip to content
Snippets Groups Projects
Commit 8926852f authored by Pierre Loic Garoche's avatar Pierre Loic Garoche
Browse files

[scopes] Producing the appropriate scope label

parent 08faae63
No related branches found
No related tags found
No related merge requests found
......@@ -215,7 +215,7 @@ let pp_scopes fmt scopes =
let scopes_vars = extract_scopes_defs scopes in
List.iteri (fun idx (id, (var, typ)) ->
Format.fprintf fmt "@ %t;"
(fun fmt -> C_backend_common.print_put_var fmt ("_scopes_" ^ string_of_int (idx+1)) var typ var)
(fun fmt -> C_backend_common.print_put_var fmt ("_scopes_" ^ string_of_int (idx+1)) id (*var*) typ var)
) scopes_vars
let update_machine machine =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment