fixing glitch with zeros in formulas (JT Hughes) and cleaning up a bit

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@124401 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Xavier Noguer Gallego 2003-04-23 22:51:30 +00:00
parent 7d6b7d621d
commit 648279d1c4
1 changed files with 4 additions and 3 deletions

View File

@ -1379,14 +1379,15 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
else {
return($this->raiseError("Sintactic error: coma expected $num_args"));
}
$result2 = $this->_condition(); //$this->_expression();
$result2 = $this->_condition();
if($this->isError($result2)) {
return($result2);
}
$result = $this->_createTree('arg', $result, $result2);
}
else {
$result2 = $this->_condition(); //$this->_expression();
else // first argument
{
$result2 = $this->_condition();
if($this->isError($result2)) {
return($result2);
}