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:
parent
7d6b7d621d
commit
648279d1c4
|
|
@ -1379,14 +1379,15 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||||
else {
|
else {
|
||||||
return($this->raiseError("Sintactic error: coma expected $num_args"));
|
return($this->raiseError("Sintactic error: coma expected $num_args"));
|
||||||
}
|
}
|
||||||
$result2 = $this->_condition(); //$this->_expression();
|
$result2 = $this->_condition();
|
||||||
if($this->isError($result2)) {
|
if($this->isError($result2)) {
|
||||||
return($result2);
|
return($result2);
|
||||||
}
|
}
|
||||||
$result = $this->_createTree('arg', $result, $result2);
|
$result = $this->_createTree('arg', $result, $result2);
|
||||||
}
|
}
|
||||||
else {
|
else // first argument
|
||||||
$result2 = $this->_condition(); //$this->_expression();
|
{
|
||||||
|
$result2 = $this->_condition();
|
||||||
if($this->isError($result2)) {
|
if($this->isError($result2)) {
|
||||||
return($result2);
|
return($result2);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue