mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 07:32:24 +00:00
Use SYSTEM.ADDRESS in libraries. Build all with -O2. Support INC(a,b) for any int a,b that support a:=a+b.
This commit is contained in:
parent
f1cbbdba28
commit
22a4f8e263
92 changed files with 2752 additions and 2695 deletions
|
|
@ -6,12 +6,12 @@
|
|||
#include "SYSTEM.h"
|
||||
|
||||
|
||||
import int32 OPM_Alignment, OPM_AddressSize, OPM_SetSize, OPM_ShortintSize, OPM_IntegerSize, OPM_LongintSize, OPM_MaxSet;
|
||||
import int16 OPM_Alignment, OPM_AddressSize, OPM_SetSize, OPM_ShortintSize, OPM_IntegerSize, OPM_LongintSize, OPM_MaxSet;
|
||||
import int64 OPM_MaxIndex;
|
||||
import LONGREAL OPM_MinReal, OPM_MaxReal, OPM_MinLReal, OPM_MaxLReal;
|
||||
import BOOLEAN OPM_noerr;
|
||||
import int64 OPM_curpos, OPM_errpos, OPM_breakpc;
|
||||
import int32 OPM_currFile, OPM_level, OPM_pc, OPM_entno;
|
||||
import int32 OPM_curpos, OPM_errpos, OPM_breakpc;
|
||||
import int16 OPM_currFile, OPM_level, OPM_pc, OPM_entno;
|
||||
import CHAR OPM_modName[32];
|
||||
import CHAR OPM_objname[64];
|
||||
import SET OPM_opt, OPM_glbopt;
|
||||
|
|
@ -20,29 +20,29 @@ import SET OPM_opt, OPM_glbopt;
|
|||
import void OPM_CloseFiles (void);
|
||||
import void OPM_CloseOldSym (void);
|
||||
import void OPM_DeleteNewSym (void);
|
||||
import void OPM_FPrint (int64 *fp, int64 val);
|
||||
import void OPM_FPrintLReal (int64 *fp, LONGREAL lr);
|
||||
import void OPM_FPrintReal (int64 *fp, REAL real);
|
||||
import void OPM_FPrintSet (int64 *fp, SET set);
|
||||
import void OPM_FPrint (int32 *fp, int64 val);
|
||||
import void OPM_FPrintLReal (int32 *fp, LONGREAL lr);
|
||||
import void OPM_FPrintReal (int32 *fp, REAL real);
|
||||
import void OPM_FPrintSet (int32 *fp, SET set);
|
||||
import void OPM_Get (CHAR *ch);
|
||||
import void OPM_Init (BOOLEAN *done, CHAR *mname, LONGINT mname__len);
|
||||
import void OPM_InitOptions (void);
|
||||
import int32 OPM_Integer (int64 n);
|
||||
import int16 OPM_Integer (int64 n);
|
||||
import void OPM_LogW (CHAR ch);
|
||||
import void OPM_LogWLn (void);
|
||||
import void OPM_LogWNum (int64 i, int64 len);
|
||||
import void OPM_LogWStr (CHAR *s, LONGINT s__len);
|
||||
import int64 OPM_Longint (int64 n);
|
||||
import void OPM_Mark (int32 n, int64 pos);
|
||||
import int32 OPM_Longint (int64 n);
|
||||
import void OPM_Mark (int16 n, int64 pos);
|
||||
import void OPM_NewSym (CHAR *modName, LONGINT modName__len);
|
||||
import void OPM_OldSym (CHAR *modName, LONGINT modName__len, BOOLEAN *done);
|
||||
import void OPM_OpenFiles (CHAR *moduleName, LONGINT moduleName__len);
|
||||
import BOOLEAN OPM_OpenPar (void);
|
||||
import void OPM_RegisterNewSym (void);
|
||||
import int64 OPM_SignedMaximum (int64 bytecount);
|
||||
import int64 OPM_SignedMinimum (int64 bytecount);
|
||||
import int64 OPM_SignedMaximum (int32 bytecount);
|
||||
import int64 OPM_SignedMinimum (int32 bytecount);
|
||||
import void OPM_SymRCh (CHAR *ch);
|
||||
import int64 OPM_SymRInt (void);
|
||||
import int32 OPM_SymRInt (void);
|
||||
import int64 OPM_SymRInt64 (void);
|
||||
import void OPM_SymRLReal (LONGREAL *lr);
|
||||
import void OPM_SymRReal (REAL *r);
|
||||
|
|
@ -60,7 +60,7 @@ import void OPM_WriteReal (LONGREAL r, CHAR suffx);
|
|||
import void OPM_WriteString (CHAR *s, LONGINT s__len);
|
||||
import void OPM_WriteStringVar (CHAR *s, LONGINT s__len);
|
||||
import BOOLEAN OPM_eofSF (void);
|
||||
import void OPM_err (int32 n);
|
||||
import void OPM_err (int16 n);
|
||||
import void *OPM__init(void);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue