This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: p-exp.y: parse error before "xmalloc"
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: gdb at sources dot redhat dot com, cagney at gnu dot org
- Date: Fri, 15 Oct 2004 11:25:02 -0400
- Subject: Re: p-exp.y: parse error before "xmalloc"
- References: <416FE87F.nailM4L11F2H8@mindspring.com>
It's the problem that Andreas Schwab noticed.
p-exp.y says:
char *uptokstart = (char *)malloc(namelen+1);
p-exp.c, after substitution, says:
char *uptokstart = (char *xmalloc(namelen+1);
I'll go ahead and check in a patch unless someone beats me to it.
Michael