Added NOWDOC

This commit is contained in:
Dmitry Stogov 2008-02-12 09:28:01 +00:00
parent ddcf7a2f49
commit 82b31e01ae

View 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;