map halt(t) to exit(t) rather than assert(0). all test cases except gravity pass with pas2c now
--- a/project_files/hwc/rtl/system.h Sat Nov 29 05:15:27 2014 +0100
+++ b/project_files/hwc/rtl/system.h Sat Nov 29 05:24:47 2014 +0100
@@ -1,6 +1,7 @@
#ifndef SYSTEM_H_
#define SYSTEM_H_
+#include <stdlib.h>
#include <time.h>
#include "Types.h"
#include "misc.h"
@@ -134,7 +135,8 @@
int fpcrtl_UTF8ToUnicode(PWideChar dest, PChar src, SizeInt maxLen);
-#define fpcrtl_halt(t) assert(0)
+// #define fpcrtl_halt(t) assert(0)
+#define fpcrtl_halt(t) exit(t)
#define fpcrtl_Load_GL_VERSION_2_0() 1