Tartarus CVS: pycee simon

tartarus-commits-admin@lists.tartarus.org tartarus-commits-admin@lists.tartarus.org
Thu, 21 Jun 2001 22:06:51 +0100


CVSROOT:	/home/cvs
Module name:	pycee
Changes by:	simon	01/06/21 22:06:51

Modified files:
	.              : c_parse.py 

Log message:
Parsing of unary-expressions containing sizeof was failing to eat
the sizeof before recursing, hence recursing indefinitely. Also
parsing of sizeof ( type ) was forgetting to eat the ) and throwing
an error. This would never have happened if I'd got round to
implementing sizeof in the semantic analyser, because then I'd have
tested this bit!