From 35034623b56cf81fd5035be26855fb1a837afe13 Mon Sep 17 00:00:00 2001 From: Xavier Noguer Gallego Date: Fri, 16 May 2003 20:42:48 +0000 Subject: [PATCH] fixing the fix git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@127352 c90b9560-bf6c-de11-be94-00142212c4b1 --- Writer/Parser.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Writer/Parser.php b/Writer/Parser.php index 9983d72..b247cd0 100644 --- a/Writer/Parser.php +++ b/Writer/Parser.php @@ -905,10 +905,10 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR { list($row, $col, $row_rel, $col_rel) = $this->_cellToRowcol($cell); if ($col >= 256) { - return new PEAR_Error("Column in: $cell greater than 255")); + return new PEAR_Error("Column in: $cell greater than 255"); } if ($row >= 16384) { - return new PEAR_Error("Row in: $cell greater than 16384 ")); + return new PEAR_Error("Row in: $cell greater than 16384 "); } // Set the high bits to indicate if row or col are relative. @@ -1398,7 +1398,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR return $result; } return new PEAR_Error("Sintactic error: ".$this->_current_token.", lookahead: ". - $this->_lookahead.", current char: ".$this->_current_char)); + $this->_lookahead.", current char: ".$this->_current_char); } /** @@ -1443,7 +1443,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR $args = $this->_functions[$function][1]; // If fixed number of args eg. TIME($i,$j,$k). Check that the number of args is valid. if (($args >= 0) and ($args != $num_args)) { - return new PEAR_Error("Incorrect number of arguments in function $function() ")); + return new PEAR_Error("Incorrect number of arguments in function $function() "); } $result = $this->_createTree($function, $result, $num_args);