aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/metasyntax.ml
diff options
context:
space:
mode:
Diffstat (limited to 'toplevel/metasyntax.ml')
-rw-r--r--toplevel/metasyntax.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/toplevel/metasyntax.ml b/toplevel/metasyntax.ml
index ec311d9ae..487c87bd4 100644
--- a/toplevel/metasyntax.ml
+++ b/toplevel/metasyntax.ml
@@ -226,10 +226,10 @@ let add_infix assoc n inf pr =
(* check the precedence *)
if n<1 or n>10 then
errorlabstrm "Metasyntax.infix_grammar_entry"
- [< 'sTR"Precedence must be between 1 and 10." >];
+ (str"Precedence must be between 1 and 10.");
if (assoc<>None) & (n<6 or n>9) then
errorlabstrm "Vernacentries.infix_grammar_entry"
- [< 'sTR"Associativity Precedence must be 6,7,8 or 9." >];
+ (str"Associativity Precedence must be 6,7,8 or 9.");
(* check the grammar entry *)
let prefname = inf^"_infix" in
let gram_rule = gram_infix assoc n (split inf) prefname pr in