aboutsummaryrefslogtreecommitdiff
path: root/toplevel/metasyntax.ml
diff options
context:
space:
mode:
Diffstat (limited to 'toplevel/metasyntax.ml')
-rw-r--r--toplevel/metasyntax.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/toplevel/metasyntax.ml b/toplevel/metasyntax.ml
index d047cef2fb..b9adcae8ad 100644
--- a/toplevel/metasyntax.ml
+++ b/toplevel/metasyntax.ml
@@ -481,6 +481,7 @@ let cache_syntax_extension (_,(_,prec,ntn,gr,se)) =
error ("Notation "^ntn^" is already assigned a different level")
else
(* The notation is already declared; no need to redeclare it *)
+ if Options.do_translate () then raise Not_found; (* In case the notation was only given to the printer - V8Notation *)
()
with Not_found ->
(* Reserve the notation level *)