Remove unneeded macro

This commit is contained in:
Augusto Gunsch 2020-10-24 22:37:36 -03:00
parent 733c8fa285
commit ec5d89a8bd
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
1 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@
#define ADD_STR_LEN 7 #define ADD_STR_LEN 7
#define INST_SIZE 17 #define INST_SIZE 17
#define C_TOKEN_SIZE 4 #define C_TOKEN_SIZE 4
#define VARS_START_INDEX 16
#define CMP_SIZE 8 #define CMP_SIZE 8
#define CMP_TABLE_SIZE 27 #define CMP_TABLE_SIZE 27
@ -323,7 +322,7 @@ void replacevar(struct line* ln, int val) {
} }
void stripvars(struct symbol** vars, int* varscount, struct symbol** labels, int* labelscount, struct line** lns, int lnscount) { void stripvars(struct symbol** vars, int* varscount, struct symbol** labels, int* labelscount, struct line** lns, int lnscount) {
int varsramind = VARS_START_INDEX; int varsramind = BOT_VAR;
for(int i = 0; i < lnscount; i++) { for(int i = 0; i < lnscount; i++) {
if(lns[i]->ln[0] == '@') { if(lns[i]->ln[0] == '@') {
char* afterat = lns[i]->ln+sizeof(char); char* afterat = lns[i]->ln+sizeof(char);