Fix stuff
This commit is contained in:
@@ -45,7 +45,6 @@ namespace Solstice {
|
||||
if (!left.has_value()) {
|
||||
throw std::runtime_error("Expecting expression on left of '+'");
|
||||
}
|
||||
consume(); // be rid of the +
|
||||
Precedence precedence = getTokenPrecedence(Token(type));
|
||||
auto right = parseOneNode(precedence);
|
||||
if (!right.has_value()) {
|
||||
|
||||
Reference in New Issue
Block a user