This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: confused by code in C++ parser
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Subject: Re: confused by code in C++ parser
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Fri, 22 Jun 2001 11:38:42 -0700
- Cc: gcc at gcc dot gnu dot org
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