Skip to content

Commit

Permalink
removed invalid return, look into how error handling works
Browse files Browse the repository at this point in the history
  • Loading branch information
madeso committed Feb 17, 2021
1 parent 840cd48 commit 8350e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/fel/src/fel/parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ namespace fel
}

throw Error(Peek(), log_type, args);
return Token{TokenType::EndOfStream, "<invalid token>", nullptr, {}};
// return Token{TokenType::EndOfStream, "<invalid token>", nullptr, {}};
}

ParseError
Expand Down

0 comments on commit 8350e82

Please sign in to comment.