-
Notifications
You must be signed in to change notification settings - Fork 100
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
meta + typedef unexpected #94
Comments
In haxe.bnf, typedefDeclaration doesn't include macroClassList. Might be as simple as that. |
The thing is that meta tags can be used almost anywhere. |
I can't generate haxe.bnf without errors, I even reverted changes made in my commit, https://github.com/EBatTiVo/intellij-haxe/commit/93abe6263300944fef69ec70f5c06c603eb0d749, @EBatTiVo please take a look, does it work for you, without errors? |
Just generated fine for me at HEAD: e82349e I'm still on IDEA13: IU-135.1286 (a..k.a. version 13.1.5, I think) |
Except that the copyright notice just updated the year on every file. :( |
@as3boyan: "The thing is that meta tags can be used almost anywhere." This is not accurate. Metadata may appear in the following places:
Any number of metadata is allowed in these places. In general: when in doubt, check the official Haxe parser. |
Srikanth was having the same problem. It turned out that the problem was two-fold: the last time the BNF was updated, the parser files weren't regenerated, and a new function was not overridden in the non-generated files; second, he was using a newer version of the Grammar-Kit plugin than I was. The first problem, I fixed and have already pushed to the ClassHierarchy branch. Srikanth has fixed the issues with generating via the new Grammar-Kit plugin and those should get to ClassHierarchy today. |
@EBatTiVo Please pull changes to your fork, thanks |
I pushed some fixes to haxe.bnf, and made related changes in parser utils to make it work, should work I think... |
meta tags for typedef support: https://github.com/EBatTiVo/intellij-haxe/commit/9e6c363a786a69316951a793789543572d058628 I had to change typedef pin from 2 to 5, not sure, I need better understanding of pins |
repro:
https://github.com/eliasku/horror/blob/master/tests/intellijhaxe/MetaTypedefIssue.hx
TIR: STB-7314
The text was updated successfully, but these errors were encountered: