Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated TreeParser seems to have wrong qualified base class #13

Open
marcelotto opened this issue Jul 3, 2011 · 1 comment
Open

Comments

@marcelotto
Copy link

Hi,

I've tried to build a tree walker, but the generated code couldn't be loaded, due to an "uninitialized constant" failure for ANTLR3::TreeParser. Looking at the code revealed, that the generated TreeParser class is derived from ANTLR3::TreeParser, although this class is defined in the module ANTLR3::AST. Changing the generated class to derive from ANTLR3::AST::TreeParser solved the loading problem. Did I misunderstand something substantial or is it a bug in the template?

Thanks for the great tool,
Marcel

@marcelotto
Copy link
Author

I should add, that I encountered the problem only with JRuby .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant