summaryrefslogtreecommitdiff
path: root/Option.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2022-10-14 23:15:32 +0100
committerAsh Wolf <ninji@wuffs.org>2022-10-14 23:15:32 +0100
commit775b6861666af36d317fb577cf489e2c6377f878 (patch)
tree2ae8c829eb861c85a6e2b5acf42f51919a0d78f2 /Option.c
parentb8df05413a4e8b299de07b915cddce73a3bb16e3 (diff)
downloadMWCC-775b6861666af36d317fb577cf489e2c6377f878.tar.gz
MWCC-775b6861666af36d317fb577cf489e2c6377f878.zip
add tons of stuff
Diffstat (limited to '')
-rw-r--r--Option.c23
1 files changed, 0 insertions, 23 deletions
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;