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: Add objc-lang.c, further cleanup


Ziemowit Laski wrote:-

> >Why is this necesary?  Why not have the objc_init lang hook add the
> >objc_tree_codes after calling c_objc_common_init?
> 
> I just think objc_tree_codes should be added together with c_tree_codes,
> especially in the context of a method named c_objc_common_init. :)

Well, the current ObjC code doesn't do it that way.  Nor does C++.
And I think that having to add a dummy maybe_ routine to the C front
end is a lose.  Why bother when a clear place to put it already
exists?

Neil.


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