Skip to content

Commit

Permalink
Temporarily disable is_byte() in expr.c, because it isn't working
Browse files Browse the repository at this point in the history
properly with asm byte comparison code, which HuC does not really
contain.
  • Loading branch information
jbrandwood committed Sep 24, 2024
1 parent f6adda2 commit 2b8d02f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hucc/expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2b8d02f

Please sign in to comment.