]> git.sur5r.net Git - cc65/commitdiff
Merge branch 'pointer' of https://github.com/mrdudz/cc65 into mrdudz-pointer
authorOliver Schmidt <ol.sc@web.de>
Wed, 15 Jul 2015 10:04:06 +0000 (12:04 +0200)
committerOliver Schmidt <ol.sc@web.de>
Wed, 15 Jul 2015 10:24:09 +0000 (12:24 +0200)
1  2 
src/cc65/expr.c

diff --cc src/cc65/expr.c
index 7563645ff0e9bf6e28da7a8c12bcd6fb049ff06e,b82dff10d0a1f09235295005287a2f39db746449..64fc17e3f2833018b1c1b9d12a340bb0f956986b
@@@ -2775,11 -2816,11 +2816,11 @@@ static void hie6 (ExprDesc* Expr
  /* Handle greater-than type comparators */
  {
      static const GenDesc hie6_ops [] = {
-         { TOK_LT,       GEN_NOPUSH,     g_lt    },
-         { TOK_LE,       GEN_NOPUSH,     g_le    },
-         { TOK_GE,       GEN_NOPUSH,     g_ge    },
-         { TOK_GT,       GEN_NOPUSH,     g_gt    },
-         { TOK_INVALID,  0,              0       }
+         { TOK_LT,       GEN_NOPUSH | GEN_NOFUNC,     g_lt    },
+         { TOK_LE,       GEN_NOPUSH | GEN_NOFUNC,     g_le    },
+         { TOK_GE,       GEN_NOPUSH | GEN_NOFUNC,     g_ge    },
+         { TOK_GT,       GEN_NOPUSH | GEN_NOFUNC,     g_gt    },
 -        { TOK_INVALID,  0,              0       }
++        { TOK_INVALID,  0,                           0       }
      };
      hie_compare (hie6_ops, Expr, ShiftExpr);
  }