diff options
author | Ash Wolf <ninji@wuffs.org> | 2022-10-14 23:15:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2022-10-14 23:15:32 +0100 |
commit | 775b6861666af36d317fb577cf489e2c6377f878 (patch) | |
tree | 2ae8c829eb861c85a6e2b5acf42f51919a0d78f2 /Option.c | |
parent | b8df05413a4e8b299de07b915cddce73a3bb16e3 (diff) | |
download | MWCC-775b6861666af36d317fb577cf489e2c6377f878.tar.gz MWCC-775b6861666af36d317fb577cf489e2c6377f878.zip |
add tons of stuff
Diffstat (limited to '')
-rw-r--r-- | Option.c | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -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; |