Implemened arrayed ASMDIRIMM thing...

This commit is contained in:
xolatile
2024-07-15 19:50:20 -04:00
parent 4f6275d0c6
commit 9e1480c4ad
4 changed files with 27 additions and 19 deletions

View File

@ -176,7 +176,17 @@ int main (void) {
} else if (index == token_count) {
if (isdigit (buffer [offset - size - 1]) != 0) {
if (scope_directive) {
tokenize (atoi (& buffer [offset - size - 1]));
scope = atoi (& buffer [offset - size - 1]);
tokenize (scope);
do {
leq_string (& buffer [offset], & word, & size);
index = 0;
do {
if (word == token_leq [index]) break;
} while (++index != token_count);
offset += size + 1;
tokenize (atoi (& buffer [offset - size - 1]));
} while (--scope != 0);
scope_directive = 0;
} else {
buffer [offset - 1] = '\0';