aboutsummaryrefslogtreecommitdiff
path: root/parsing
diff options
context:
space:
mode:
Diffstat (limited to 'parsing')
-rw-r--r--parsing/g_vernac.ml46
1 files changed, 1 insertions, 5 deletions
diff --git a/parsing/g_vernac.ml4 b/parsing/g_vernac.ml4
index 30c88a11c0..81bd6a1084 100644
--- a/parsing/g_vernac.ml4
+++ b/parsing/g_vernac.ml4
@@ -138,11 +138,7 @@ GEXTEND Gram
| Some (SelectNth g) -> c (Some g)
| None -> c None
| _ ->
- (* arnaud: the error is raised bizarely:
- "all:Check 0." doesn't do anything, then
- inputing anything that ends with a period
- (including " .") raises the error. *)
- error "Typing and evaluation commands, cannot be used with the \"all:\" selector."
+ VernacError (UserError ("",str"Typing and evaluation commands, cannot be used with the \"all:\" selector."))
end
| tac = Tactic.tactic;
use_dft_tac = [ "." -> false | "..." -> true ] ->