Skip to content

Commit

Permalink
Issue 5916 - DMD: bad message for incorrect operands error
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed May 2, 2011
1 parent 5675cb0 commit 5425955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iasm.c
Expand Up @@ -589,7 +589,7 @@ STATIC PTRNTAB asm_classify(OP *pop, OPND *popnd1, OPND *popnd2, OPND *popnd3,
asmstate.ucItype != ITfloat)
{
PARAM_ERROR:
asmerr(EM_nops_expected, usActual, asm_opstr(pop), usNumops);
asmerr(EM_nops_expected, usNumops, asm_opstr(pop), usActual);
}
if (usActual < usNumops)
*pusNumops = usActual;
Expand Down

0 comments on commit 5425955

Please sign in to comment.