svn commit: r1556 - in trunk/yasm: frontends/yasm modules/arch/x86/tests modules/parsers/gas modules/parsers/nasm

peter at tortall.net peter at tortall.net
Wed Jun 7 21:10:08 PDT 2006


Author: peter
Date: Wed Jun  7 21:10:04 2006
New Revision: 1556

Modified:
   trunk/yasm/frontends/yasm/yasm.c
   trunk/yasm/libyasm/errwarn.c
   trunk/yasm/libyasm/errwarn.h
   trunk/yasm/modules/arch/x86/tests/pushf-err.errwarn
   trunk/yasm/modules/parsers/gas/gas-token.re
   trunk/yasm/modules/parsers/nasm/nasm-token.re
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1556

Log:
Fix cross-reference filename/line number.  We were reporting (wrongly) the
virtual line number rather than the physical filename/line number.  This
was broken when the errwarn code was changed and not caught because I didn't
check the errwarn results closely enough for this case.

* nasm-token.re, gas-token.re: Propagate warnings from arch early.
This is a case where we probably want the double-error/warning on a single
line.

* errwarn.h: Add xref filename to yasm_print_error_func, and document all
parameters.
* errwarn.c: Get the physical file/line for xref virtual line.
* yasm.c: Update to match new yasm_print_error_func definition.

* pushf-err.errwarn: Correct test.



More information about the yasm-cvs mailing list