fixed basic parse test, by updated lexer check index after successful recurse
This commit is contained in:
parent
5f34dbfeca
commit
fcc41aa576
2 changed files with 36 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue