Skip to content

Commit

Permalink
Removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
christophgockel committed Jan 22, 2011
1 parent 5ce3908 commit 5d315c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion PiBX/PiBX_CodeGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ public function __construct($schemaFile) {
$parsedTree->accept($creator);

$typeList = $creator->getTypeList();
//print_r($typeList);

// phase 3
print "Optimizing abstract syntax tree\n";
Expand Down
2 changes: 1 addition & 1 deletion PiBX/Runtime/Binding.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function getASTForClass($classname) {
}

foreach ($this->asts as &$ast) {
$name = $ast->getType();//--$ast->getClassName();
$name = $ast->getType();

if ($name == $classname) {
return $ast;
Expand Down

0 comments on commit 5d315c1

Please sign in to comment.