[Pyrex] Re: Pyrex parser bug

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Jul 22 01:54:46 CEST 2003


On Sat, 19 Jul 2003, Florian Schulze wrote:
> > return (((foo)(i) << 1) | BLAH)
> I would say this is valid code. It tries to call foo with i as an argument.

It would be, except that 'foo' was declared earlier as
a type identifier.

Still, it should certainly be reporting an error rather
than crashing. I'll look into it.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list