Browse Source

+ more types
+ objpas unit

peter 26 years ago
parent
commit
f3079dff58
2 changed files with 17 additions and 4 deletions
  1. 4 0
      rtl/fakertl/objpas.pp
  2. 13 4
      rtl/fakertl/system.pp

+ 4 - 0
rtl/fakertl/objpas.pp

@@ -0,0 +1,4 @@
+unit objpas;
+interface
+implementation
+end.

+ 13 - 4
rtl/fakertl/system.pp

@@ -1,9 +1,18 @@
-{ This is a fake system unit to allow testing of the new code generator }
-
 unit system;
 unit system;
+interface
+
+type
+  integer=-32768..32767;
+  byte=0..255;
+  word=0..65535;
+  longint=$80000000..$7fffffff;
+  pchar=^char;
 
 
-  interface
+implementation
 
 
-  implementation
+procedure do_exit;[public,alias:'FPC_DO_EXIT'];
+begin
+end;
 
 
+begin
 end.
 end.