utiliser caml_fatal_error au lieu de assert
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6075 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
776a8d59b7
commit
b34d7fa82e
|
@ -13,7 +13,6 @@
|
|||
|
||||
/* $Id$ */
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <mlvalues.h>
|
||||
|
@ -283,7 +282,7 @@ static int re_match(value re,
|
|||
break;
|
||||
}
|
||||
default:
|
||||
assert(0);
|
||||
caml_fatal_error ("impossible case in re_match");
|
||||
}
|
||||
/* Continue with next instruction */
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue