yasm/libyasm/tests/expr-fold-level.hex
Peter Johnson 457170f54e Fix expr simplification bug.
If an expression of the form INT+(a+b)+INT was simplified, constant folding
would combine the ints, but then the level stage (to make INT+a+b) would
start reading from the second (deleted due to folding) INT rather than the
new end of the expression.

Reported by: Samuel Thibault (on yasm-devel@)

svn path=/trunk/yasm/; revision=2123
2008-09-30 03:56:37 +00:00

4 lines
16 B
Text