Open NateEpps opened 2 years ago
This line is in all the math operator implementations
require(tokenType != TokenType::Operator, "non-operator");
Should we be requiring a number? ... although, at the time of this writing, these are the only possible token types
/// @brief Token types enum class TokenType { NumberLiteral, Operator, None };
This line is in all the math operator implementations
Should we be requiring a number? ... although, at the time of this writing, these are the only possible token types