mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
Fix a few instances of missing renumbers
parser.c: change hard-coded argument count 3 to MAX_ARGUMENTS assemble.c: change a few missed code renumbers
This commit is contained in:
4
parser.c
4
parser.c
@@ -339,10 +339,10 @@ insn *parse_line(int pass, char *buffer, insn * result,
|
||||
return result;
|
||||
}
|
||||
|
||||
/* right. Now we begin to parse the operands. There may be up to three
|
||||
/* right. Now we begin to parse the operands. There may be up to four
|
||||
* of these, separated by commas, and terminated by a zero token. */
|
||||
|
||||
for (operand = 0; operand < 3; operand++) {
|
||||
for (operand = 0; operand < MAX_OPERANDS; operand++) {
|
||||
expr *value; /* used most of the time */
|
||||
int mref; /* is this going to be a memory ref? */
|
||||
int bracket; /* is it a [] mref, or a & mref? */
|
||||
|
Reference in New Issue
Block a user