aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/syntax_def.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/syntax_def.ml')
-rw-r--r--pretyping/syntax_def.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/pretyping/syntax_def.ml b/pretyping/syntax_def.ml
index 381a40ee6..f13f31de0 100644
--- a/pretyping/syntax_def.ml
+++ b/pretyping/syntax_def.ml
@@ -33,7 +33,7 @@ let add_syntax_constant sp c =
let cache_syntax_constant (sp,c) =
if Nametab.exists_cci sp then
errorlabstrm "cache_syntax_constant"
- [< pr_id (basename sp); 'sTR " already exists" >];
+ (pr_id (basename sp) ++ str " already exists");
add_syntax_constant sp c;
Nametab.push_syntactic_definition sp;
Nametab.push_short_name_syntactic_definition sp
@@ -41,7 +41,7 @@ let cache_syntax_constant (sp,c) =
let load_syntax_constant (sp,c) =
if Nametab.exists_cci sp then
errorlabstrm "cache_syntax_constant"
- [< pr_id (basename sp); 'sTR " already exists" >];
+ (pr_id (basename sp) ++ str " already exists");
add_syntax_constant sp c;
Nametab.push_syntactic_definition sp