cvs: ZendEngine2 / zend_highlight.c
| From: | Ilia Alshanetsky | Date: | Sun, 15 Sep 2002 23:37:27 +0000 |
| Subject: | cvs: ZendEngine2 / zend_highlight.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-427@lists.php.net to get a copy of this message | ||
iliaa Sun Sep 15 19:37:27 2002 EDT
Modified files:
/ZendEngine2 zend_highlight.c
Log:
Make zend actually strip comments. Bug #18151
Index: ZendEngine2/zend_highlight.c
diff -u ZendEngine2/zend_highlight.c:1.29 ZendEngine2/zend_highlight.c:1.30
--- ZendEngine2/zend_highlight.c:1.29 Sun May 12 11:59:29 2002
+++ ZendEngine2/zend_highlight.c Sun Sep 15 19:37:26 2002
@@ -190,7 +190,7 @@
switch (token_type) {
case T_COMMENT:
token.type = 0;
- break;
+ continue;
case T_WHITESPACE:
if (token.type) {