Fixed disambiguation of names (cf. 5759ecd5c905)
--- a/src/HOL/SPARK/Tools/spark_vcs.ML Thu May 10 22:51:44 2012 +0200
+++ b/src/HOL/SPARK/Tools/spark_vcs.ML Fri May 11 13:41:30 2012 +0200
@@ -1066,7 +1066,7 @@
Symtab.update ("true", (@{term True}, booleanN)),
Name.context),
thy |> Sign.add_path
- (if prfx = "" then Long_Name.base_name ident else prfx)) |>
+ ((if prfx = "" then "" else prfx ^ "__") ^ Long_Name.base_name ident)) |>
fold (add_type_def prfx) (items types) |>
fold (snd oo add_const prfx) consts' |> (fn ids_thy as ((tab, _), _) =>
ids_thy |>