reobfuscating my code so other people can read it comfortably

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@200369 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Xavier Noguer Gallego 2005-11-12 01:40:56 +00:00
parent b2d29a2390
commit 2595518d58
1 changed files with 7 additions and 8 deletions

View File

@ -1388,8 +1388,8 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
return $result; return $result;
} }
while (($this->_current_token == SPREADSHEET_EXCEL_WRITER_ADD) or while (($this->_current_token == SPREADSHEET_EXCEL_WRITER_ADD) or
($this->_current_token == SPREADSHEET_EXCEL_WRITER_SUB)) ($this->_current_token == SPREADSHEET_EXCEL_WRITER_SUB)) {
{ /**/
if ($this->_current_token == SPREADSHEET_EXCEL_WRITER_ADD) { if ($this->_current_token == SPREADSHEET_EXCEL_WRITER_ADD) {
$this->_advance(); $this->_advance();
$result2 = $this->_term(); $result2 = $this->_term();
@ -1437,10 +1437,9 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
return $result; return $result;
} }
while (($this->_current_token == SPREADSHEET_EXCEL_WRITER_MUL) or while (($this->_current_token == SPREADSHEET_EXCEL_WRITER_MUL) or
($this->_current_token == SPREADSHEET_EXCEL_WRITER_DIV)) ($this->_current_token == SPREADSHEET_EXCEL_WRITER_DIV)) {
{ /**/
if ($this->_current_token == SPREADSHEET_EXCEL_WRITER_MUL) if ($this->_current_token == SPREADSHEET_EXCEL_WRITER_MUL) {
{
$this->_advance(); $this->_advance();
$result2 = $this->_fact(); $result2 = $this->_fact();
if (PEAR::isError($result2)) { if (PEAR::isError($result2)) {
@ -1554,8 +1553,8 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
$function = $this->_current_token; $function = $this->_current_token;
$this->_advance(); $this->_advance();
$this->_advance(); // eat the "(" $this->_advance(); // eat the "("
while ($this->_current_token != ')') while ($this->_current_token != ')') {
{ /**/
if ($num_args > 0) { if ($num_args > 0) {
if ($this->_current_token == SPREADSHEET_EXCEL_WRITER_COMA or if ($this->_current_token == SPREADSHEET_EXCEL_WRITER_COMA or
$this->_current_token == SPREADSHEET_EXCEL_WRITER_SEMICOLON) $this->_current_token == SPREADSHEET_EXCEL_WRITER_SEMICOLON)