boostorg / wave

Boost.org wave module
http://boost.org/libs/wave
21 stars 49 forks source link

Prepare for 1.75 release #115

Closed jefftrull closed 3 years ago

jefftrull commented 3 years ago

"Breaking Changes" deadline is today - seems like a good time for this. Support for C++20 tokens could possibly be classified as "breaking" in the sense that they were lexed differently, before.

jefftrull commented 3 years ago

Oh man, haven't given any thought to attributes... or spaceship... guess I'll file some more issues.

jefftrull commented 3 years ago

Re: attributes, is __has_cpp_attribute() what you were referring to? I haven't gotten any further than filing an issue for it.

hkaiser commented 3 years ago

Re: attributes, is __has_cpp_attribute() what you were referring to? I haven't gotten any further than filing an issue for it.

I meant [[some_attribute]] which are separate special tokens, like T_ATTRIBUTE which has a value of [[some_attribute]].

jefftrull commented 3 years ago

Ah... FWIW Clang doesn't seem to have a special token for that. Is there a specific need, or can we let the parser handle that?

hkaiser commented 3 years ago

Ah... FWIW Clang doesn't seem to have a special token for that. Is there a specific need, or can we let the parser handle that?

Ok. Could be a convenience only. However it could be handled by the parser as a sequence of [ [ identifier ] ] tokens...