lib/antlr4-native/generator.rb in antlr4-native-1.0.1 vs lib/antlr4-native/generator.rb in antlr4-native-1.0.2
- old
+ new
@@ -313,10 +313,10 @@
.define_method("child_count", &ContextProxy::childCount)
.define_method("text", &ContextProxy::getText)
.define_method("parent", &ContextProxy::getParent)
.define_method("==", &ContextProxy::doubleEquals);
- rb_cTerminalNode = rb_mPython3Parser
+ rb_cTerminalNode = rb_m#{parser_ns}
.define_class<TerminalNodeProxy, ContextProxy>("TerminalNodeImpl");
rb_m#{parser_ns}
.define_class<#{visitor_generator.cpp_class_name}>("#{visitor_generator.class_name}")
.define_director<#{visitor_generator.cpp_class_name}>()