From 2b8d02fdc31f27ea9b859d19d4471476b341d448 Mon Sep 17 00:00:00 2001 From: John Brandwood Date: Mon, 23 Sep 2024 20:29:26 -0400 Subject: [PATCH] Temporarily disable is_byte() in expr.c, because it isn't working properly with asm byte comparison code, which HuC does not really contain. --- src/hucc/expr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hucc/expr.c b/src/hucc/expr.c index ce97d413..18fe334d 100644 --- a/src/hucc/expr.c +++ b/src/hucc/expr.c @@ -72,9 +72,11 @@ static int is_ptrptr (LVALUE *lval) static int is_byte (LVALUE *lval) { +#if 0 // Byte comparisons are broken, disable them for now. if (lval->symbol && !lval->ptr_type && (lval->symbol->sym_type == CCHAR || lval->symbol->sym_type == CUCHAR)) return (1); +#endif return (0); }