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] |
2010/9/22 Tom Tromey <tromey@redhat.com>: >>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes: > > Tom> It also seems like instead of having a separate list for push/pop, we > Tom> could simply store a pointer to the pushed macro into the cpp_macro > Tom> object itself. ?This will grow cpp_macro, but maybe that isn't so bad. > > Kai points out that this won't work properly because we might see an > #undef, so the cpp_macro object would not be available. > > Instead I think it is sufficient for the time being to simply save the > 'line', 'syshdr', and 'used' fields along with the macro text. > > Tom > So here is extended patch storing additional fields location, syshdr, and used of cpp_macro. The pch testsuite is just running. I'll give final result when test is done. Regards, Kai -- |? (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination
Attachment:
fixdangle.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |