Browse Source

Decompiler: dump: adds ':' before constant

master
Xuefer 6 years ago
parent
commit
7d7bedb96a
  1. 2
      lib/Decompiler.class.php

2
lib/Decompiler.class.php

@ -2483,7 +2483,7 @@ class Decompiler
return $s;
case XC_IS_CONST:
return isset($EX['Ts']) ? str($this->getOpVal($op, $EX)) : $op['var'] . var_export($op['constant'], true);
return isset($EX['Ts']) ? str($this->getOpVal($op, $EX)) : $op['var'] . ':' . var_export($op['constant'], true);
default:
return isset($EX['Ts']) ? str($this->getOpVal($op, $EX)) : $op['op_type'] . '?' . $op['var'];

Loading…
Cancel
Save