/*
* $Source: /cygdrive/c/RCVS/CVS/ReactOS/reactos/lib/kjs/ksrc/b_regexp.c,v $
- * $Id: b_regexp.c,v 1.2 2004/12/24 23:01:35 navaraf Exp $
+ * $Id: b_regexp.c,v 1.3 2004/12/25 19:38:16 navaraf Exp $
*/
#include "jsint.h"
js_vm_symname (vm, method));
js_vm_error (vm);
+/* argument_type_error: */
+ sprintf (vm->error, "RegExp.%s(): illegal argument",
+ js_vm_symname (vm, method));
+ js_vm_error (vm);
+
immutable:
sprintf (vm->error, "RegExp.%s(): immutable object",
js_vm_symname (vm, method));
js_free (ictx->source);
if (ictx->compiled.buffer)
- free (ictx->compiled.buffer);
+ js_free (ictx->compiled.buffer);
if (ictx->compiled.fastmap)
js_free (ictx->compiled.fastmap);
EMIT_TO_RESULT (data + pos, datalen - pos);
if (regs.start)
- free (regs.start);
+ js_free (regs.start);
if (regs.end)
- free (regs.end);
+ js_free (regs.end);
}
}
if (regs.start)
- free (regs.start);
+ js_free (regs.start);
if (regs.end)
- free (regs.end);
+ js_free (regs.end);
}
-# $Id: makefile,v 1.2 2004/12/03 23:37:41 blight Exp $
+# $Id: makefile,v 1.3 2004/12/25 19:38:17 navaraf Exp $
# Kernel JavaScript
#
# You can use this for various things but the most obvious is as a powerful
src/dl_dummy.o \
src/heap.o \
src/utils.o
-TARGET_OBJECTS = $(ORIG_OBJECTS) $(MOD_OBJECTS) $(ARCH_OBJECTS) \
- ../../dk/w32/lib/libntdll.a
+TARGET_OBJECTS = $(ORIG_OBJECTS) $(MOD_OBJECTS) $(ARCH_OBJECTS)
DEP_OBJECTS = $(TARGET_OBJECTS)
include $(PATH_TO_TOP)/rules.mak