diff --git a/parser/parser.hpp b/parser/parser.hpp index f2119c66..f443c5f1 100644 --- a/parser/parser.hpp +++ b/parser/parser.hpp @@ -82,7 +82,7 @@ namespace realm { Predicate parse(const std::string &query); void analyzeGrammar(); - bool testGrammer(); + bool testGrammar(); } } diff --git a/parser/test.cpp b/parser/test.cpp index 973cf672..ce290474 100644 --- a/parser/test.cpp +++ b/parser/test.cpp @@ -134,7 +134,7 @@ static std::vector invalid_queries = { namespace realm { namespace parser { -bool testGrammer() +bool testGrammar() { bool success = true; for (auto &query : valid_queries) {