Remove first argument of Schema::isModule
The argument wasn't used anywhere, I have no idea why it was there.
Change-Id: I21b9c3fa323187e5f0484d4db9e2c543f9a6f7cf
diff --git a/src/ast_handlers.hpp b/src/ast_handlers.hpp
index 9f2ddef..2e4753d 100644
--- a/src/ast_handlers.hpp
+++ b/src/ast_handlers.hpp
@@ -183,7 +183,7 @@
auto& parserContext = x3::get<parser_context_tag>(context);
const auto& schema = parserContext.m_schema;
- if (schema.isModule(parserContext.m_curPath, ast.m_name)) {
+ if (schema.isModule(ast.m_name)) {
parserContext.m_curModule = ast.m_name;
parserContext.m_topLevelModulePresent = true;
} else {