]> granicus.if.org Git - yasm/commit
Fix reporting of redefinition errors by adding a set of error/warning
authorPeter Johnson <peter@tortall.net>
Tue, 21 Oct 2003 03:04:56 +0000 (03:04 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 21 Oct 2003 03:04:56 +0000 (03:04 -0000)
commit98b92dbacfd180f05f9a73d0e162ee97214494af
tree4abfc31fdc8814aa5ae798cec567d16ef39357d8
parent38654f318e1fc61cb655622893956dde42697c59
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
libyasm/errwarn.c
libyasm/errwarn.h
libyasm/symrec.c
libyasm/tests/Makefile.inc
libyasm/tests/duplabel-err.asm [new file with mode: 0644]
libyasm/tests/duplabel-err.errwarn [new file with mode: 0644]
libyasm/tests/libyasm_test.sh [new file with mode: 0755]