Fix stuff

This commit is contained in:
2026-08-01 08:13:47 +10:00
parent f81284fd37
commit 80649d77ae
3 changed files with 14 additions and 6 deletions

View File

@@ -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()) {