-
Notifications
You must be signed in to change notification settings - Fork 12
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
ClaiR does not parse header files for function pointers in arguments #25
Comments
Hi Peter, Thanks for the report, I'll look into it! |
Hi @rodinaarssen , Do you already had a change to look at it? Regards, Peter |
The fix seems clear, but we are stuck between Java 8 and Java 11 compatible releases of Rascal. Current progress is made by porting Clair to Java 11 and the latest Eclipse releases and adding GitHub actions for running the tests. After that we can fix this issue and test it, and then perhaps backport it to the older releases. So a small bug, with a lot of collatoral damage :-) |
In short: function pointers are not the issue here. In fact, the |
Does this mean that if a declaration is added for all the types it will work? |
Hi Peter; Yes that would hide the current issue and it's a reasonable workaround, but we will also fix the bug :-) |
@rodinaarssen let's have a look at this week, since we now are on Java 11 and all the latest dependencies. |
See also #50 |
I am parsing a header file using Rascal ClaiR:
The header file test.h looks as follows:
As an outcome I get multiple errors like this:
decl=|cpp+parameter:///update_data(org.eclipse.cdt.internal.core.dom.parser.ProblemType@53e470da,char...,%3F.)/count|),
The text was updated successfully, but these errors were encountered: