]> granicus.if.org Git - php/commitdiff
Make zend actually strip comments. Bug #18151
authorIlia Alshanetsky <iliaa@php.net>
Sun, 15 Sep 2002 23:37:26 +0000 (23:37 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 15 Sep 2002 23:37:26 +0000 (23:37 +0000)
Zend/zend_highlight.c

index 1a3c3403f962662c7f523880061144ab44c0752a..79f56fd87da066ed19c0c94f1e49575b7922835e 100644 (file)
@@ -190,7 +190,7 @@ ZEND_API void zend_strip(TSRMLS_D)
                switch (token_type) {
                        case T_COMMENT:
                                token.type = 0;
-                               break;
+                               continue;
 
                        case T_WHITESPACE:
                                if (token.type) {