corrected the treatment of the <<= and >>= operators

This commit is contained in:
erikb
1986-09-10 10:23:26 +00:00
parent c489f7f608
commit 7bc71298be
3 changed files with 32 additions and 24 deletions

View File

@@ -156,7 +156,8 @@ ch7bin(expp, oper, expr)
case RIGHTAB:
opnd2integral(expp, oper);
opnd2integral(&expr, oper);
ch7cast(&expr, oper, int_type); /* leftop should be int */
fund = arithbalance(expp, oper, &expr); /* ch. 7.5 */
ch7cast(&expr, oper, int_type); /* cvt. rightop to int */
non_commutative_binop(expp, oper, expr);
break;
case '<':