Skip to content

Commit

Permalink
Merge pull request #3 from ciaa/incorporation__k60_120
Browse files Browse the repository at this point in the history
Incorporation  k60 120
  • Loading branch information
mcerdeiro committed Mar 16, 2015
2 parents 78526a7 + faf6289 commit 13145ce
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions oilParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function removeComments()
/* to do */
#if ( strpos($this->lines[$l], "/*") !== false )
#{
# $tmp = array ( substr ($this->lines[$l],0, strpos($this->lines[$l], "/*")-1),
# $tmp = array ( substr ($this->lines[$l],0, strpos($this->lines[$l], "/*")-1),
# substr ($this->lines[$l],strpos($this->lines[$l], "/*")+2), strlen($this->lines[$l]));
# print "t1:" . $tmp[0] . "t2:" . $tmp[1] . "\n";
# $this->lines[$l] = $tmp[0];
Expand Down Expand Up @@ -170,9 +170,12 @@ function getDefinition()
}
else
{
$tmp = split(" ", $tmp);
$tmp = split(" ", $tmp);
$ret[0] = $tmp[0];
$ret[1] = $tmp[1];
if (!empty($tmp[1]))
$ret[1] = $tmp[1];
else
$ret[1] = "";
}
}
return $ret;
Expand Down

0 comments on commit 13145ce

Please sign in to comment.