utiliser caml_fatal_error au lieu de assert

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6075 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2004-01-16 15:26:00 +00:00
parent 776a8d59b7
commit b34d7fa82e
1 changed files with 1 additions and 2 deletions

View File

@ -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;