felipe                                   Mon, 12 Jul 2010 19:14:26 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=301214

Log:
- Woops, remove commented code

Changed paths:
    U   php/php-src/branches/LEMON/ext/tokenizer/tokenizer.c

Modified: php/php-src/branches/LEMON/ext/tokenizer/tokenizer.c
===================================================================
--- php/php-src/branches/LEMON/ext/tokenizer/tokenizer.c        2010-07-12 
19:13:00 UTC (rev 301213)
+++ php/php-src/branches/LEMON/ext/tokenizer/tokenizer.c        2010-07-12 
19:14:26 UTC (rev 301214)
@@ -115,7 +115,7 @@
                switch (token_type) {
                        case T_CLOSE_TAG:
                                if (zendtext[zendleng - 1] != '>') {
-                                       token_line++;
+                                       ++token_line;
                                }
                        case T_OPEN_TAG:
                        case T_OPEN_TAG_WITH_ECHO:
@@ -162,11 +162,6 @@
                                array_init(keyword);
                                add_next_index_long(keyword, token_type);
                                if (token_type == T_END_HEREDOC) {
-                                       /*CG(zend_lineno) = token_line;
-                                       if (CG(increment_lineno)) {
-                                               ++token_line;
-                                               CG(increment_lineno) = 0;
-                                       }*/
                                        add_next_index_stringl(keyword, 
Z_STRVAL(token), Z_STRLEN(token), 1);
                                        efree(Z_STRVAL(token));
                                } else {
@@ -179,7 +174,7 @@
                CG(zend_lineno) = token_line;

                if (CG(increment_lineno)) {
-                       CG(zend_lineno)++;
+                       ++CG(zend_lineno);
                        CG(increment_lineno) = 0;
                        token_line = CG(zend_lineno);
                }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to