pythonizer
pythonizer copied to clipboard
Missing variable in generated python from compound conditional
In this statement, the "prev_state" variable is omitted from the generated code:
$bool = $state_chg && ($prev_state == $ST_GLOBAL);
Fix in sub expression (pythonizer):
# issue 15 $cur_pos=expression($cur_pos+1,$end_pos,0); # preserve brackets
$cur_pos=expression($cur_pos+1,$limit,0); # preserve brackets # issue 15
Fixed in https://github.com/snoopyjc/pythonizer