Input source:
Event OnInit()
int a = 1 + 2 - 3 + 4
int b = (1 + 2) - (3 + 4)
int c = a - (b + 1)
int d = 1 - (2 + ((3 * 4) / 5))
int e = 1 - 2 + ((3 * 4) / 5)
EndEvent
Decompiled source:
Event OnInit()
Int a = 1 + 2 - 3 + 4 ; #DEBUG_LINE_NO:4
Int b = 1 + 2 - 3 + 4 ; #DEBUG_LINE_NO:5
Int c = a - b + 1 ; #DEBUG_LINE_NO:6
Int d = 1 - 2 + 3 * 4 / 5 ; #DEBUG_LINE_NO:7
Int e = 1 - 2 + 3 * 4 / 5 ; #DEBUG_LINE_NO:8
EndEvent
The decompiler doesn't seem to add any parentheses to keep the order of operations, thus changing the meaning of many math expressions.
Input source:
Decompiled source:
The decompiler doesn't seem to add any parentheses to keep the order of operations, thus changing the meaning of many math expressions.