]> granicus.if.org Git - yasm/commit
tasm (tweaked nasm) preproc fixes:
authorPeter Johnson <peter@tortall.net>
Fri, 17 Apr 2009 03:25:08 +0000 (03:25 -0000)
committerPeter Johnson <peter@tortall.net>
Fri, 17 Apr 2009 03:25:08 +0000 (03:25 -0000)
commitbccb81d575c229c453f06fa891c2e69efc557544
treee1319868d149b2f46a90836a70642dc0a936e887
parent88ffc998047d47137166bfa3bf4faed772d162be
tasm (tweaked nasm) preproc fixes:
 - comments stripped before tokenization caused strings containing ';'
   to generate warnings (unterminated string) and incorrect output.
 - assume directive parsing did not properly handle ';' as end of line

Also add tests for the above.

Reported by: Rugxulo <rugxulo@gmail.com>

svn path=/trunk/yasm/; revision=2197
modules/preprocs/Makefile.inc
modules/preprocs/nasm/nasm-pp.c
modules/preprocs/tasm/Makefile.inc [new file with mode: 0644]
modules/preprocs/tasm/tests/Makefile.inc [new file with mode: 0644]
modules/preprocs/tasm/tests/tasm-assume-comment.asm [new file with mode: 0644]
modules/preprocs/tasm/tests/tasm-assume-comment.hex [new file with mode: 0644]
modules/preprocs/tasm/tests/tasm-comment-instr.asm [new file with mode: 0644]
modules/preprocs/tasm/tests/tasm-comment-instr.hex [new file with mode: 0644]
modules/preprocs/tasm/tests/tasmpp_test.sh [new file with mode: 0755]