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: gcc macro collection


You mean whether your patch can substitute my patch? However your patch cann't
distinguish macro tokens/macro-replacement tokens (user need switch them in his
IDE) -- in my previous mail, 1-level/2+-level macro tokens. And we also need
callbacks of libcpp to tell user where a macro expansion starts/ends.


2010/6/6 Dodji Seketeli <dodji@redhat.com>:
> Yunfeng ZHANG <zyf.zeroos@gmail.com> writes:
>
>> My patch is originally designed as symbol collection plugin, so it
>> concentrates on macro/macro-replacement tokens which are visible to final user
>> in .c and .i file.
>
> I see. I just wanted to make sure you were aware of what was happening
> as part of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7263
>
> The line map additions that are happening there help to track token
> /locations/ so it might be different from what you were needing.
>
> --
> Dodji Seketeli
>


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