This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: don't modify the IStable for '$' in identifiers
- To: zack at wolery dot cumb dot org
- Subject: Re: cpplib: don't modify the IStable for '$' in identifiers
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sat, 4 Mar 2000 15:41:59 -0500 (EST)
- Cc: egcs-bugs at egcs dot cygnus dot com, gcc-patches at gcc dot gnu dot org
> From: Zack Weinberg <zack@wolery.cumb.org>
>
> On Sat, Mar 04, 2000 at 11:01:52AM -0500, Kaveh R. Ghazi wrote:
> > > From: Zack Weinberg <zack@wolery.cumb.org>
> > >
> > > This patch changes the definitions of is_idchar and is_idstart so they
> > > check dollars_in_ident directly, rather than expecting '$' to appear
> > > in the IStable. That, in turn, means we can make the IStable
> > > read-only data, and eliminate the last bit of cpplib internal state
> > > maintained outside the cpp_reader structure.
> ...
> > The !GCC case fails in this file. Here's what I get on
> > solaris2.7 with cc:
> >
> > > "../../egcs-CVS20000304/gcc/cppinit.c", line 229: undefined symbol: id
>
> Argh - missed one. Patch:
>
> ===================================================================
> Index: cppinit.c
Thanks, its fixed.
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions