Problem parsing files with variable names that are modifier keywords #280

djetter opened this Issue Mar 6, 2012 · 1 comment


None yet

2 participants

djetter commented Mar 6, 2012

If you try to parse a .h with a function such as this:

int InitPowerUSB(int *model, char firmware[]);

It fails, apparently because "model" is a special word in "". It works fine if you rename "model":

int InitPowerUSB(int *model1, char firmware[]);

ochafik commented Mar 6, 2012

Hi @djetter,

Thanks for your report !

This was actually fixed along with issue #278 in the latest snapshot (and the webstart version from the project's website), but I forgot to upload a corresponding download : this is now done !


@ochafik ochafik closed this Mar 6, 2012
@ochafik ochafik added a commit that referenced this issue Mar 7, 2012
@ochafik ochafik JNAerator: skip parsing of even more attributes outside of their vali…
…d scope (issue #278 and issue #280)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment