summaryrefslogtreecommitdiff
path: root/ext/tokenizer/tokenizer.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2008-07-26 15:31:38 +0000
committerDmitry Stogov <dmitry@php.net>2008-07-26 15:31:38 +0000
commitef5f3cfdf2b601850d60d2a6edb0d54e25ba4eae (patch)
tree87a7afcdf9d06f0362840a7a315275788f62f3ed /ext/tokenizer/tokenizer.c
parent2d49dc63e6633d848c9fa68d593e118560aaaaf9 (diff)
downloadphp-git-ef5f3cfdf2b601850d60d2a6edb0d54e25ba4eae.tar.gz
. Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt) . Optimized interpolated strings to use one less opcode. (Matt)
Diffstat (limited to 'ext/tokenizer/tokenizer.c')
-rw-r--r--ext/tokenizer/tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c
index 6ffb80853e..ed0249cb7e 100644
--- a/ext/tokenizer/tokenizer.c
+++ b/ext/tokenizer/tokenizer.c
@@ -134,7 +134,7 @@ static void tokenize(zval *return_value TSRMLS_DC)
MAKE_STD_ZVAL(keyword);
array_init(keyword);
add_next_index_long(keyword, token_type);
- if (token_type == T_END_HEREDOC || token_type == T_END_NOWDOC) {
+ if (token_type == T_END_HEREDOC) {
if (CG(increment_lineno)) {
token_line = ++CG(zend_lineno);
CG(increment_lineno) = 0;