Repository navigation
Attributes in C mode fail to consume :: when it is a result of macro expansion #227
lapkow
started this conversation in
Issue Triage - Compilation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue Summary
scan_attribute() in attribute.c makes an effort to transform the individual tokens of colon colon in C mode; however, the algorithm fails when the colon colon are tokens generated by macro expansion:
There is also a failure to consume the
__extension__keyword properly.Reproducing Source Code
Command-line Options
cpfe --c11 --gnu_version=160100
Type of Issue
[Front End] This code SHOULD compile with these options.
Additional Details
No response
Reproducing (Standard) Configuration(s)
No response
Reproducing (Non-standard) Configuration
No response
I acknowledge that:
LICENSE.txtfile in my.zipor.tar.gzupload. If I included aLICENSE.txtfile, any tests created using the reproducing source code will be governed by the terms of the license I provided instead.All reactions