fixed basic parse test, by updated lexer check index after successful recurse

This commit is contained in:
herbglitch 2024-11-14 00:59:04 -07:00
parent 5f34dbfeca
commit fcc41aa576
2 changed files with 36 additions and 4 deletions

View file

@ -118,6 +118,9 @@ ARC_Bool ARC_Parser_ParseTag(ARC_Parser *parser, uint32_t *lexerIndex, uint32_t
break;
}
//increase the lexer check index as a recursed rule was found
lexerCheckIndex = *lexerIndex;
//this will probably never be called as lambda is usually the last instruction, but just in case we can continue instead of break
continue;
}