From 3b7ecfa6d4da684a635b2469c2d9a2e1e0ed0807 Mon Sep 17 00:00:00 2001 From: letouzey Date: Tue, 12 Mar 2013 23:59:05 +0000 Subject: invalid_arg instead of raise (Invalid_argement ...) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16270 85f007b7-540e-0410-9357-904b9bb8a0f7 --- proofs/tactic_debug.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'proofs/tactic_debug.ml') diff --git a/proofs/tactic_debug.ml b/proofs/tactic_debug.ml index afbc8bbe40..5952fd29cb 100644 --- a/proofs/tactic_debug.ml +++ b/proofs/tactic_debug.ml @@ -91,14 +91,14 @@ let run_com inst = let s = String.sub inst i (String.length inst - i) in if inst.[0] >= '0' && inst.[0] <= '9' then let num = int_of_string s in - if num<0 then raise (Invalid_argument "run_com"); + if num<0 then invalid_arg "run_com"; skip:=num;skipped:=0 else breakpoint:=Some (possibly_unquote s) else - raise (Invalid_argument "run_com") + invalid_arg "run_com" else - raise (Invalid_argument "run_com") + invalid_arg "run_com" (* Prints the run counter *) let run ini = -- cgit v1.2.3