aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/syntax_def.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/syntax_def.ml b/pretyping/syntax_def.ml
index 4801d017e..1e63907a4 100644
--- a/pretyping/syntax_def.ml
+++ b/pretyping/syntax_def.ml
@@ -36,7 +36,7 @@ let (in_syntax_constant, out_syntax_constant) =
let _ =
cache_syntax_constant := fun (sp,c) ->
add_syntax_constant sp c;
- Nametab.push_object (basename sp) (sp, in_syntax_constant c)
+ Nametab.push_object sp (in_syntax_constant c)
let declare_syntactic_definition id c =
let _ = add_leaf id CCI (in_syntax_constant c) in ()