-
Notifications
You must be signed in to change notification settings - Fork 6
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
Parsing error when namespaces found in headers #20
Comments
Must be, I've never seen the NamespaceAlias tag before. What version / build of gcc-xml are you using? |
GCC-XML version 0.9.0 |
And could I see the header files in question, or an example that shows this failure? |
Cool, thanks. I'll see what I can do about that. |
I added the following to rbgccxml/nodes/namespace.rb and it at least compiles. I've yet to test the result though.
|
Also is there a way to wrap something that is in a nested namespace such as...
|
That should just work. Are you seeing otherwise? |
It was not resolving the namespace. It might be because the foo:bar namespace was linking to a library we install. Not quite sure, ended up re-factoring to have everything use the test namespace. The generated code is working now, just working on getting it to tie in properly with our tests. |
rbgccxml 1.0.4 is out that supports NamespaceAlias nodes. |
Yep. Tested it out and it is working great. If I have continued troubles Thanks for the quick feedback and commit.
|
We have header files that already belong to existing namespaces. As soon as the parser encounters anything that is namespaced it crashes with the following output.
It seems rbgccxml is missing some constants that are produced from nokogiri?
The text was updated successfully, but these errors were encountered: