From 35d488e972a9dd75ce3867c000405f128b79c615 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 15 Jan 2023 12:14:05 +0000 Subject: reorganise things a bit to align further with the actual names/structure --- includes/compiler/CPrep.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/compiler/CPrep.h') diff --git a/includes/compiler/CPrep.h b/includes/compiler/CPrep.h index 02d5a76..5fc972c 100644 --- a/includes/compiler/CPrep.h +++ b/includes/compiler/CPrep.h @@ -25,7 +25,7 @@ typedef struct TokenStack { } TokenStack; //#define OPT_OFFSET(optname) ((short) (((char *) (&copts.optname)) - ((char *) &copts))) -#define OPT_OFFSET(optname) ((UInt16) ( &((COpts *)0)->optname )) +#define OPT_OFFSET(optname) ((UInt16) ( &((CompilerLinkerOptions *)0)->optname )) enum { OPT_OFFSET_MASK = 0x1FFF, OPT_FLAG_2000 = 0x2000, @@ -33,7 +33,7 @@ enum { OPT_FLAG_8000 = 0x8000 }; -extern CParams *cparamblkptr; +extern CompilerLinkerParamBlk *cparamblkptr; extern short tk; extern CInt64 tkintconst; extern Float tkfloatconst; @@ -112,7 +112,7 @@ extern SInt32 CPrep_GetFileOffsetInfo(FileOffsetInfo *foi); extern void CPrep_GetFileOffsetInfo2(FileOffsetInfo *foi, SInt32 *pLine, HashNameNode **pName); extern void CPrep_ResetFileInfo(FileOffsetInfo *foi); extern void CPrep_GetPrepPos(CPrepFileInfo **file, SInt32 *ppos); -extern UInt8 C_Compiler(CParams *param); +extern UInt8 C_Compiler(CompilerLinkerParamBlk *param); extern void poptokenseq(void); extern void foundnl(void); extern void newline(void); -- cgit v1.2.3