]> granicus.if.org Git - yasm/commit
Don't use an inner structure for line mappings.
authorPeter Johnson <peter@tortall.net>
Sun, 15 Jul 2007 21:54:11 +0000 (21:54 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 15 Jul 2007 21:54:11 +0000 (21:54 -0000)
commit4fab0318c51870912d3c4c6d6375b91252fbecce
treee1ef6ae5318fa438ab23f8bace19d581534e2f4f
parent2bb74148c18a8821c95571ea30294a39ac5b903a
Don't use an inner structure for line mappings.
Fix a nit in yasm_linemap_poke() for the case when set() has not been
called before calling this function; the prior behavior could result
in incorrect line numbers due to not properly adjusting the new line
number.

svn path=/trunk/yasm/; revision=1896
libyasm/linemap.c