summaryrefslogtreecommitdiff
path: root/ext/tokenizer/tokenizer.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2008-02-12 09:28:30 +0000
committerDmitry Stogov <dmitry@php.net>2008-02-12 09:28:30 +0000
commit87a8f72f49b203e972e2bc9db6c74b8d602a1379 (patch)
treeabd1982e7c6a491b21af0e328c766d599e2f0bd6 /ext/tokenizer/tokenizer.c
parent70252556cc7376ba5547f2f9e16c274fa5fb92a7 (diff)
downloadphp-git-87a8f72f49b203e972e2bc9db6c74b8d602a1379.tar.gz
Added NOWDOC
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 22aec51fb9..082619b275 100644
--- a/ext/tokenizer/tokenizer.c
+++ b/ext/tokenizer/tokenizer.c
@@ -180,7 +180,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) {
+ if (token_type == T_END_HEREDOC || token_type == T_END_NOWDOC) {
if (CG(increment_lineno)) {
token_line = ++CG(zend_lineno);
CG(increment_lineno) = 0;