From: Oliver Schmidt
Date: Wed, 15 Jul 2015 10:04:06 +0000 (+0200)
Subject: Merge branch 'pointer' of https://github.com/mrdudz/cc65 into mrdudz-pointer
X-Git-Tag: V2.16~250^2
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d3eebc8fcf8122a3a66ed299816439da9780219d;p=cc65
Merge branch 'pointer' of https://github.com/mrdudz/cc65 into mrdudz-pointer
---
d3eebc8fcf8122a3a66ed299816439da9780219d
diff --cc src/cc65/expr.c
index 7563645ff,b82dff10d..64fc17e3f
--- a/src/cc65/expr.c
+++ b/src/cc65/expr.c
@@@ -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);
}