]> granicus.if.org Git - yasm/commit
* nasm-preproc.c (nasm_preproc_input): Don't generate %line except at the
authorPeter Johnson <peter@tortall.net>
Sat, 22 Apr 2006 04:08:00 +0000 (04:08 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 22 Apr 2006 04:08:00 +0000 (04:08 -0000)
commit85380b969225bbc6c97c795489b8ec8e58489689
tree61502aacd03807d6b737b5e4cff21ca238757d99
parent369c628a2851eb9b2fa31fd1c7a881300932f642
* nasm-preproc.c (nasm_preproc_input): Don't generate %line except at the
beginning of a line.  The old way could insert a %line in the middle of very
long lines (e.g. >8192 chars).
* longline.asm: Test with an ~8500 character line.

Reported by: Brian Gladman <brg@gladman.plus.com>

svn path=/trunk/yasm/; revision=1506
modules/preprocs/nasm/nasm-preproc.c
modules/preprocs/nasm/tests/Makefile.inc
modules/preprocs/nasm/tests/longline.asm [new file with mode: 0644]
modules/preprocs/nasm/tests/longline.errwarn [new file with mode: 0644]
modules/preprocs/nasm/tests/longline.hex [new file with mode: 0644]