summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-07-12 19:14:26 +0000
committerFelipe Pena <felipe@php.net>2010-07-12 19:14:26 +0000
commit087117419b0a5838b51c19f72da9ce427ccb036d (patch)
treeb39fd32cb753a97c042efca7c00de97934cf4db9
parentc4cb864b929b6b3777b51257a2db3af7a0213b52 (diff)
downloadphp-git-087117419b0a5838b51c19f72da9ce427ccb036d.tar.gz
- Woops, remove commented code
-rw-r--r--ext/tokenizer/tokenizer.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c
index 9ab18f02b7..e96de4f50b 100644
--- a/ext/tokenizer/tokenizer.c
+++ b/ext/tokenizer/tokenizer.c
@@ -115,7 +115,7 @@ static void tokenize(zval *return_value TSRMLS_DC)
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 @@ static void tokenize(zval *return_value TSRMLS_DC)
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 @@ static void tokenize(zval *return_value TSRMLS_DC)
CG(zend_lineno) = token_line;
if (CG(increment_lineno)) {
- CG(zend_lineno)++;
+ ++CG(zend_lineno);
CG(increment_lineno) = 0;
token_line = CG(zend_lineno);
}