]> granicus.if.org Git - php/commitdiff
Added NOWDOC
authorDmitry Stogov <dmitry@php.net>
Tue, 12 Feb 2008 09:28:01 +0000 (09:28 +0000)
committerDmitry Stogov <dmitry@php.net>
Tue, 12 Feb 2008 09:28:01 +0000 (09:28 +0000)
ext/tokenizer/tokenizer.c

index 995dc341b4f5a8e8e25b3b89d86e48cc10aab865..29a106a72d90e518453c240b6fd18d39835b32be 100644 (file)
@@ -178,7 +178,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;