This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR preprocessor/60723 - missing system-ness marks for macro


On 07/04/2014 05:13 AM, Dodji Seketeli wrote:
>// preprocessed output
># 3 "test.cpp" 3 4
>sys_token
># 3 "test.cpp"
>3
># 3 "test.cpp" 3 4
>sys_token

Yeah.  For Built-in tokens that are expanded like that we only do track
their the location of their expansion, not their spelling location.  So
this behaviour is expected as well.

But surely you can do something to avoid this useless line marker in this case? A built-in token should never require a line change.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]