-
Notifications
You must be signed in to change notification settings - Fork 55
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
Fails to parse some GNU attributes #8
Comments
The If you want to introduce the C99 built-in types, i.e., ("long long", id LLONG); and add the corresponding tokens ( Finally, we will need to deal with the ambiguity in the modifier parser that our change will introduce. As previously 1) Githubs markdown eats consecutive spaces even inside backticked strings, but you got the idea. |
In fact, the main culprit is that gnu attributes are not allowed in a structure field definition. |
FrontC fails to parse
__attribute__((__aligned__(__alignof__(long long))))
. This appears instddef.h
on my system, or technically in__stddef_max_align_t.h
which is #included instddef.h
.I believe the root cause of the problem is that here, the rule which matches
__alignof__(*)
expects an identifier, a constant, or another expression involving parens, but instead it getslong long
.The text was updated successfully, but these errors were encountered: