added EX_SIDEEFFECTS, options['p'] --> ! options['L'], fixed some bugs

This commit is contained in:
ceriel
1987-01-14 09:58:51 +00:00
parent 9fd7fe29a2
commit b559db4ed4
10 changed files with 51 additions and 26 deletions

View File

@@ -77,6 +77,7 @@ ch7bin(expp, oper, expr)
else
*expp = new_oper((*expp)->ex_type->tp_up,
*expp, '(', expr);
(*expp)->ex_flags |= EX_SIDEEFFECTS;
break;
case PARCOMMA: /* RM 7.1 */
if ((*expp)->ex_type->tp_fund == FUNCTION)
@@ -149,8 +150,8 @@ ch7bin(expp, oper, expr)
}
break;
case LEFT:
case LEFTAB:
case RIGHT:
case LEFTAB:
case RIGHTAB:
opnd2integral(expp, oper);
opnd2integral(&expr, oper);