Prevent IDs in variables from being trimmed

This commit is contained in:
Théophile Bastian 2018-01-18 16:03:29 +01:00
parent 6619941770
commit d0ff07998f

View file

@ -13,7 +13,7 @@ let freshId =
(string_of_int !cId))
let freshWithPrefix pre =
Atom.fresh (pre ^ (freshId ()))
Atom.fresh (pre ^ (freshId ()) ^ "_")
let freshBlockVar () = freshWithPrefix "bl_"
let freshVar () = freshWithPrefix "v_"