From 775b6861666af36d317fb577cf489e2c6377f878 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Fri, 14 Oct 2022 23:15:32 +0100 Subject: add tons of stuff --- Option.c | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'Option.c') diff --git a/Option.c b/Option.c index 6a93fc0..c7e8093 100644 --- a/Option.c +++ b/Option.c @@ -1,7 +1,5 @@ #include "includes/mwcc_decomp.h" -#define OPTION_ASSERT(cond) do { if (!(cond)) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0) - #define MAXSTACK 8 int oStackPtr; @@ -413,27 +411,6 @@ static Boolean Option_IsEndingLevel(int level, ArgToken *tok) { return 0; } -enum { - OFLAGS_1 = 1, - OFLAGS_2 = 2, - OFLAGS_4 = 4, - OFLAGS_8 = 8, - OFLAGS_10 = 0x10, - OFLAGS_20 = 0x20, - OFLAGS_40 = 0x40, - OFLAGS_80 = 0x80 -}; -enum { - PFLAGS_1 = 1, - PFLAGS_2 = 2, - PFLAGS_4 = 4, - PFLAGS_8 = 8, - PFLAGS_10 = 0x10, - PFLAGS_20 = 0x20, - PFLAGS_40 = 0x40, - PFLAGS_80 = 0x80 -}; - int Option_Parse(Option *opt, int oflags) { int ret; int pushed; -- cgit v1.2.3