From 2595518d5845bfcb8473bf85a364f5c821c453a3 Mon Sep 17 00:00:00 2001 From: Xavier Noguer Gallego Date: Sat, 12 Nov 2005 01:40:56 +0000 Subject: [PATCH] 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 --- Writer/Parser.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Writer/Parser.php b/Writer/Parser.php index 4402895..e0dbb81 100644 --- a/Writer/Parser.php +++ b/Writer/Parser.php @@ -1388,8 +1388,8 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR return $result; } 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) { $this->_advance(); $result2 = $this->_term(); @@ -1437,10 +1437,9 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR return $result; } while (($this->_current_token == SPREADSHEET_EXCEL_WRITER_MUL) or - ($this->_current_token == SPREADSHEET_EXCEL_WRITER_DIV)) - { - if ($this->_current_token == SPREADSHEET_EXCEL_WRITER_MUL) - { + ($this->_current_token == SPREADSHEET_EXCEL_WRITER_DIV)) { + /**/ + if ($this->_current_token == SPREADSHEET_EXCEL_WRITER_MUL) { $this->_advance(); $result2 = $this->_fact(); if (PEAR::isError($result2)) { @@ -1554,8 +1553,8 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR $function = $this->_current_token; $this->_advance(); $this->_advance(); // eat the "(" - while ($this->_current_token != ')') - { + while ($this->_current_token != ')') { + /**/ if ($num_args > 0) { if ($this->_current_token == SPREADSHEET_EXCEL_WRITER_COMA or $this->_current_token == SPREADSHEET_EXCEL_WRITER_SEMICOLON)