src/HOL/SPARK/Tools/spark_commands.ML
changeset 81843 4329a8fecbe1
parent 72754 1456c5747416
child 82587 7415414bd9d8
--- a/src/HOL/SPARK/Tools/spark_commands.ML	Fri Jan 17 11:16:11 2025 +0100
+++ b/src/HOL/SPARK/Tools/spark_commands.ML	Fri Jan 17 11:24:40 2025 +0100
@@ -13,7 +13,7 @@
     val ([{src_path, lines = vc_lines, pos = vc_pos, ...}: Token.file,
       {lines = fdl_lines, pos = fdl_pos, ...},
       {lines = rls_lines, pos = rls_pos, ...}], thy') = files thy;
-    val path = fst (Path.split_ext src_path);
+    val path = Path.drop_ext src_path;
   in
     SPARK_VCs.set_vcs
       (snd (Fdl_Parser.parse_declarations fdl_pos (cat_lines fdl_lines)))