This is the mail archive of the gcc@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]

Re: confused by code in C++ parser


On Thu, Jun 21, 2001 at 10:50:33AM +0100, Nathan Sidwell wrote:
> Nathan Sidwell wrote:
> 
> > It's to do with array types. And yes, I think it could be done better.
> > There is a difference between C & C++ as to how const qualified
> > array types are represented. In the c front end, they ARRAY_TYPE is
> Er, looking at the actual code, my answer doesn't explain it. Sorry
> I'm clearly confused too.

Let me rephrase the question.  Suppose I wanted to fix combine_strings
so that the C++ front end didn't need to correct the type afterward.
What would it need to do differently?

-- 
zw              But the voices in my head are what keeps me sane.
                	-- Shweta Narayan


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