]> granicus.if.org Git - yasm/commit
* symrec.c (symrec_define): Don't error if a symbol is declared common and
authorPeter Johnson <peter@tortall.net>
Thu, 3 Nov 2005 04:38:21 +0000 (04:38 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 3 Nov 2005 04:38:21 +0000 (04:38 -0000)
commit5074259998152fa06f0c52ede73f5f2a20355ab8
tree26b20b78b455a1e57581f13d63242f2fd91528ce
parent730fdd725fb8ca25f5fe9e9e69995d7c022fd78e
* symrec.c (symrec_define): Don't error if a symbol is declared common and
then defined, and warn instead of error if a symbol is declared global and
then defined.

* externdef.asm: Test for the warning.

svn path=/trunk/yasm/; revision=1308
libyasm/symrec.c
libyasm/tests/Makefile.inc
libyasm/tests/externdef.asm [new file with mode: 0644]
libyasm/tests/externdef.errwarn [new file with mode: 0644]
libyasm/tests/externdef.hex [new file with mode: 0644]