[Assembler] Rephrase error message
MODIFY
src/assembler/instruction.h
src/assembler/instruction.h
@@ -288,7 +288,7 @@ public:
if (line.tokens.length() != m_expectedTokens) {
return AssemblerTmp::Error(line.sourceLine, "Instruction '" + m_opcode.name + "' expects " +
QString::number(m_expectedTokens - 1) +
- " tokens, but got " +
+ " arguments, but got " +
QString::number(line.tokens.length() - 1));
}
return m_assembler(this, line);

MODIFY
src/assembler/pseudoinstruction.h
src/assembler/pseudoinstruction.h
@@ -20,7 +20,7 @@ public:
if (line.tokens.length() != m_expectedTokens) {
return AssemblerTmp::Error(
line.sourceLine, "Instruction '" + m_opcode + "' expects " + QString::number(m_expectedTokens - 1) +
- " tokens, but got " + QString::number(line.tokens.length() - 1));
+ " arguments, but got " + QString::number(line.tokens.length() - 1));
}
return m_expander(*this, line);

[Assembler] Rephrase error message