Skip to content

Commit

Permalink
unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Sep 17, 2024
1 parent e5de767 commit 6dfdca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/serialization/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ void parser::parse_variable()
std::vector<std::string> variables;
variables.emplace_back();

while(tok_.current_token().type != token::token_type::EQUALS) {
while(tok_.current_token().type != token::EQUALS) {
switch(tok_.current_token().type) {
case token::STRING:
if(!variables.back().empty()) {
Expand Down
2 changes: 1 addition & 1 deletion src/serialization/tokenizer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class tokenizer

void next_char()
{
if (current_ == token::token_type::NEWLINE)
if (current_ == token::NEWLINE)
++lineno_;
next_char_fast();
}
Expand Down

0 comments on commit 6dfdca1

Please sign in to comment.