dmitry Tue Feb 12 09:28:31 2008 UTC Modified files: /php-src/ext/tokenizer tokenizer.c Log: Added NOWDOC http://cvs.php.net/viewvc.cgi/php-src/ext/tokenizer/tokenizer.c?r1=1.45&r2=1.46&diff_format=u Index: php-src/ext/tokenizer/tokenizer.c diff -u php-src/ext/tokenizer/tokenizer.c:1.45 php-src/ext/tokenizer/tokenizer.c:1.46 --- php-src/ext/tokenizer/tokenizer.c:1.45 Mon Dec 31 07:12:17 2007 +++ php-src/ext/tokenizer/tokenizer.c Tue Feb 12 09:28:30 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tokenizer.c,v 1.45 2007/12/31 07:12:17 sebastian Exp $ */ +/* $Id: tokenizer.c,v 1.46 2008/02/12 09:28:30 dmitry Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -180,7 +180,7 @@ 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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php