Handle invalid expressions in .WORD directives with a message.

This is most relevant in implied .WORD directives which are caused by an
attempt to call a macro (which happens to be undefined) with arguments
that don't parse as valid expressions.
This commit is contained in:
Olaf Seibert
2015-06-01 23:30:16 +02:00
parent ff5179743c
commit c423ee346a
3 changed files with 31 additions and 3 deletions

View File

@@ -6,7 +6,18 @@
# If there is a .objd.ok file, it compares the result of dumpobj.
#
TESTS="test-asciz test-backpatch test-bsl-mac-arg test-complex-reloc test-endm test-include test-jmp test-locals test-macro-comma test-undef test-word-comma"
TESTS="test-asciz \
test-backpatch \
test-bsl-mac-arg \
test-complex-reloc \
test-endm \
test-impword \
test-include \
test-jmp \
test-locals \
test-macro-comma \
test-undef \
test-word-comma"
for t in $TESTS
do