Changeset 751 in svn for trunk/Decompiler.class.php


Ignore:
Timestamp:
2011-04-17T04:00:31Z (4 years ago)
Author:
Xuefer
Message:

decompiler: improvements late binding function, sample code organize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Decompiler.class.php

    r750 r751  
    12761276                    }
    12771277                    $class = &$this->dc['class_table'][$key];
    1278                     $class['name'] = unquoteName($this->getOpVal($op2, $EX), $EX);
     1278                    if (!isset($class['name'])) {
     1279                        $class['name'] = unquoteName($this->getOpVal($op2, $EX), $EX);
     1280                    }
    12791281                    if ($opc == XC_DECLARE_INHERITED_CLASS || $opc == XC_DECLARE_INHERITED_CLASS_DELAYED) {
    12801282                        $ext /= XC_SIZEOF_TEMP_VARIABLE;
     
    15631565                case XC_EXT_FCALL_END:
    15641566                case XC_EXT_NOP:
     1567                    break;
     1568                case XC_DECLARE_FUNCTION:
     1569                    $this->dfunction($this->dc['function_table'][$op1['constant']], $EX['indent']);
    15651570                    break;
    15661571                case XC_DECLARE_LAMBDA_FUNCTION:
Note: See TracChangeset for help on using the changeset viewer.