Fix typo in the first place

This commit is contained in:
Dmitry Stogov 2023-10-03 08:35:35 +03:00
parent 2f4f8504d4
commit 827b8ebd9c

2
ir.g
View File

@ -205,7 +205,7 @@ ir_insn(ir_parser_ctx *p):
DECNUMBER(IR_I32, &count)
{if (op == IR_PHI || op == IR_SNAPSHOT) count.i32++;}
{if (op == IR_CALL || op == IR_TAILCALL) count.i32+=2;}
{if (count.i32 < 0 || count.i32 > 255) yy_error("bad bumber of operands");}
{if (count.i32 < 0 || count.i32 > 255) yy_error("bad number of operands");}
{ref = ir_emit_N(p->ctx, IR_OPT(op, t), count.i32);}
( "("
( val(p, op, 1, &op1)