MacOS fixes.

This commit is contained in:
xxAtrain223 2025-07-13 16:19:34 -05:00
commit 0efa327a82

View file

@ -56,7 +56,7 @@ static std::string GetCharacterErrorContext(const std::string& input, size_t pos
return "\n" + contextLine + "\n" + pointerLine;
}
static bool IsEnumConstant(const std::string& s) {
bool IsEnumConstant(const std::string& s) {
if (LogicExpression::Impl::enumMap.empty()) {
LogicExpression::Impl::PopulateEnumMap();
}
@ -142,7 +142,7 @@ static std::string GetTokenErrorContext(const std::string& input, const Token& t
}
class Parser {
const std::vector<Token>& tokens;
const std::vector<Token> tokens;
const std::string& input;
size_t pos = 0;