zzzcode() to take a NAME as its second operand: this permits FLOAT and
DOUBLE operands to be handled, since floating constants are represented by
NAMEs.
SCCS-vsn: old/pcc/ccom.vax/local2.c 1.28
-static char *sccsid ="@(#)local2.c 1.27 (Berkeley) %G%";
+static char *sccsid ="@(#)local2.c 1.28 (Berkeley) %G%";
# endif
# include "pass2.h"
# endif
# include "pass2.h"
putchar('\t');
case 'E': /* INCR and DECR, FOREFF */
putchar('\t');
case 'E': /* INCR and DECR, FOREFF */
- if (p->in.right->tn.lval == 1)
+ if (p->in.right->in.op == ICON && p->in.right->tn.lval == 1)
{
putstr( p->in.op == INCR ? "inc" : "dec" );
prtype(p->in.left);
{
putstr( p->in.op == INCR ? "inc" : "dec" );
prtype(p->in.left);