Negative integer/floating constants
Closed this issue · 2 comments
DankRank commented
Decompiling st01bs.ecl from th18tr in raw mode produces the following line
ins_11("EffChargePoint2", _ff 1.5707964f, _ff -1.0471976f, _SS 8, _SS 2, _SS 6);
It doesn't recompile. Maybe we should make it so that the lexer recognizes negative numbers?
The workaround for this particular case is rad(-60.f)
ManDude commented
Maybe we should make it so that the lexer recognizes negative numbers?
please no, this was specifically changed for a reason!
I can't look at the code right now, but I'm assuming some expression optimization pass isn't running? Or is it a syntax error?