yasm/libyasm/tests/duplabel-err.asm
Peter Johnson 98b92dbacf Fix reporting of redefinition errors by adding a set of error/warning
reporting functions that take a parameter for the line to be displayed in
addition to the the line used for sorting.  This allows the "previously
defined" message to use the standard errwarn line resolution functions.

The resulting error messages look like gcc output.

Reported by: Edouard Gomez <ed.gomez@free.fr>

svn path=/trunk/yasm/; revision=1074
2003-10-21 03:04:56 +00:00

18 lines
121 B
NASM

%macro TESTMAC 0
label:
mov ax, 5
mov dx, 4
mov cx, 3
%endmacro
db 6
db 7
TESTMAC
db 8
db 9
TESTMAC
db 10
TESTMAC