Significantly overhaul OPT code

Simplify the mess that was option setting (2 redundant variables !?)
Move options to a separate file
Have "modules" own their options, and OPT only access them (less redundancy)
Simplify code, respect naming conventions better
This commit is contained in:
ISSOtm
2021-01-22 10:41:09 +01:00
parent 5acc48fa54
commit fa0fa4d5ac
10 changed files with 188 additions and 159 deletions

View File

@@ -24,6 +24,7 @@
#include "asm/macro.h"
#include "asm/main.h"
#include "asm/mymath.h"
#include "asm/opt.h"
#include "asm/output.h"
#include "asm/rpn.h"
#include "asm/section.h"