]> granicus.if.org Git - yasm/commit
Fix bug in edge case of expr_level_op(): single intnum in expression with
authorPeter Johnson <peter@tortall.net>
Wed, 16 Jul 2003 04:55:07 +0000 (04:55 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 16 Jul 2003 04:55:07 +0000 (04:55 -0000)
commitaba280447637fc0b662c8649cc1697beefc256e7
tree9c61337dfe752c8fa5541ecaf8479110429d742d
parent2c2e86495e0653b0127a45d881ae4e465f60b6b3
Fix bug in edge case of expr_level_op(): single intnum in expression with
intnum folding on and leveling performed would result in terms getting copied
over due to hitting o != i case after i++ but no o++.

Bugzilla: #12.
Reported by: meor@softhome.net

svn path=/trunk/yasm/; revision=1009
libyasm/expr.c
modules/objfmts/bin/tests/Makefile.inc
modules/objfmts/bin/tests/levelop.asm [new file with mode: 0644]
modules/objfmts/bin/tests/levelop.errwarn [new file with mode: 0644]
modules/objfmts/bin/tests/levelop.hex [new file with mode: 0644]