Ensure error_end_position variable is initialized
This commit is contained in:
parent
343887c1dd
commit
b01c5404eb
1 changed files with 1 additions and 0 deletions
|
|
@ -260,6 +260,7 @@ static Tree *parser__lex(Parser *self, StackVersion version) {
|
|||
LOG("skip_unrecognized_character");
|
||||
skipped_error = true;
|
||||
error_start_position = self->lexer.token_start_position;
|
||||
error_end_position = self->lexer.token_start_position;
|
||||
first_error_character = self->lexer.data.lookahead;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue