Fixed longstanding bugs and cleaned up code

This commit is contained in:
Samuel D. Crow
2022-06-28 21:10:15 -05:00
parent bf70fd087b
commit 6a3c37b02c
4 changed files with 49 additions and 10 deletions

View File

@@ -286,7 +286,7 @@ public:
label(){this->id = ++nextID;}
label(string &s)
{
label();
this->id = ++nextID;
label::lookup[s]=unique_ptr<label>(this);
}
@@ -411,7 +411,7 @@ class fn
unsigned int id;
enum CODES type;
enum TYPES kind;
operands *rc;
operands *rc; // Return Code
label *startAddr;
label *skipDef;
/* stamdard constructor called by declare */