preprocessor bug: @ + MACRO does not work in gcc-3.0

Joseph S. Myers jsm28@cam.ac.uk
Mon Mar 5 11:37:00 GMT 2001


On Mon, 5 Mar 2001, Neil Booth wrote:

> Right.  cpplib treats (with -objc) @ + identifier as a single
> identifier token; remember that previously the front end would do its
> own tokenisation, but now cpplib is the sole tokeniser.  Thus there is
> no macro to replace, since the token does not match the macro name.

What does the Objective C standard say about lexing into preprocessing
tokens?

Is there anything closer to an Objective C standard than
http://devworld.apple.com/techpubs/macosx/Cocoa/ObjectiveC/ObjC.pdf ?  If
not, could someone get a ruling from Apple on the lexing of Objective C?

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-bugs mailing list