Fix error message for .odd with argument.

This commit is contained in:
Olaf Seibert 2017-12-18 14:50:17 +01:00
parent d98c1e54d0
commit 877400f236
2 changed files with 2 additions and 2 deletions

View File

@ -969,7 +969,7 @@ static int assemble(
case P_ODD:
if (!EOL(*cp)) {
report(stack->top, ".EVEN must not have an argument\n");
report(stack->top, ".ODD must not have an argument\n");
}
if (!(DOT & 1)) {
list_word(stack->top, DOT, 0, 1, "");

View File

@ -25,7 +25,7 @@ test-blkb.mac:21: ***ERROR Argument to .BLKB/.BLKW must be constant
23
test-blkb.mac:24: ***ERROR .EVEN must not have an argument
24 .even 1 ; error: no argument allowed
test-blkb.mac:25: ***ERROR .EVEN must not have an argument
test-blkb.mac:25: ***ERROR .ODD must not have an argument
25 000324 000 .odd 1 ; error: no argument allowed
25