summaryrefslogtreecommitdiff
path: root/includes/compiler/CPrep.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-15 12:14:05 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-15 12:14:05 +0000
commit35d488e972a9dd75ce3867c000405f128b79c615 (patch)
treee3319a23d9aa0d4725f88a99fdd5131488a334a9 /includes/compiler/CPrep.h
parent8078e7f897aaae9b492b22475060052d68b9c547 (diff)
downloadMWCC-35d488e972a9dd75ce3867c000405f128b79c615.tar.gz
MWCC-35d488e972a9dd75ce3867c000405f128b79c615.zip
reorganise things a bit to align further with the actual names/structure
Diffstat (limited to '')
-rw-r--r--includes/compiler/CPrep.h6
1 files changed, 3 insertions, 3 deletions
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);