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: RFA Fix C/13014


On Mon, 2003-11-17 at 22:39, Jason Merrill wrote:
> On Mon, 17 Nov 2003 18:53:54 -0800, Eric Christopher <echristo@redhat.com> wrote:
> 
> > On Sun, 2003-11-16 at 23:38, Jason Merrill wrote:
> >> Alternately, you could add your in_*_stmt flags to cfun.
> >
> > Ended up adding it to lang_decl instead like so...
> 
> Eww.  Decl flags are for permanent attributes of the function, not parser
> state.  Why not use cfun->language?

Mostly because the language_function struct wasn't being used outside of
c-decl.c. I've moved some stuff around and am testing a patch like that
now.

-eric

-- 
Eric Christopher <echristo@redhat.com>


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