Skip to content

Commit

Permalink
ANYCC 53
Browse files Browse the repository at this point in the history
- remove wrong assignment
  • Loading branch information
Bazina committed Dec 28, 2023
1 parent 67a0409 commit 0fbf72a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Parser/PredictiveTopDownParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ void PredictiveTopDownParser::handleEmptyEntry(const StackItem &top, Token *&cur
std::cerr << "Error: (illegal " << top.token << ") at line("
<< curr_token->getPosition()->line_number << ") column("
<< curr_token->getPosition()->column_number << ") - discard " << *(curr_token->getKey()) << std::endl;
last_line = curr_token->getPosition()->line_number + 1;
last_column = curr_token->getPosition()->column_number + (int) curr_token->getValue()->length();
curr_token = lex.getNextToken();
}

Expand Down

0 comments on commit 0fbf72a

Please sign in to comment.