diff options
| author | Damien Doligez <damien.doligez-inria.fr> | 2004-01-16 15:26:00 +0000 |
|---|---|---|
| committer | Damien Doligez <damien.doligez-inria.fr> | 2004-01-16 15:26:00 +0000 |
| commit | b34d7fa82ea5e158b464c9855e133ac49fe6d833 (patch) | |
| tree | f89313f5add49525980f57f02c6a93a6cc2ad2e8 /otherlibs | |
| parent | 776a8d59b77947bddc5203ad323697e26725f264 (diff) | |
| download | ocaml-b34d7fa82ea5e158b464c9855e133ac49fe6d833.tar.gz | |
utiliser caml_fatal_error au lieu de assert
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6075 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs')
| -rw-r--r-- | otherlibs/str/strstubs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/otherlibs/str/strstubs.c b/otherlibs/str/strstubs.c index 0b518dcbe0..ae86c91b65 100644 --- a/otherlibs/str/strstubs.c +++ b/otherlibs/str/strstubs.c @@ -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; |
