diff --git a/src/n8/parser/Parser.cpp b/src/n8/parser/Parser.cpp index 4a12eb0..8f22af3 100644 --- a/src/n8/parser/Parser.cpp +++ b/src/n8/parser/Parser.cpp @@ -851,6 +851,7 @@ std::shared_ptr Parser::exprFactor() { while(this->isNext("*", TokenType::OPERATOR) || this->isNext("/", TokenType::OPERATOR) || + this->isNext("\\", TokenType::OPERATOR) || this->isNext("%", TokenType::OPERATOR)) { Token op = this->consume(TokenType::OPERATOR); expression = std::make_shared(