]> granicus.if.org Git - php/commitdiff
Fixed bug (Crash on Windows and ZTS) that was introduced with fix for bug #26456
authorDmitry Stogov <dmitry@php.net>
Thu, 9 Jun 2005 08:52:51 +0000 (08:52 +0000)
committerDmitry Stogov <dmitry@php.net>
Thu, 9 Jun 2005 08:52:51 +0000 (08:52 +0000)
Zend/zend_language_scanner.l

index 2ef59c3ae86c6b6eda975a6a4956ad30d26439bb..e0ba5a52a54e7e7f07d2dc62f706b14f2e32d362 100644 (file)
@@ -125,8 +125,9 @@ BEGIN_EXTERN_C()
 void startup_scanner(TSRMLS_D)
 {
        CG(heredoc) = NULL;
-       CG(heredoc_len)=0;
-       RESET_DOC_COMMENT();
+       CG(heredoc_len) = 0;
+       CG(doc_comment) = NULL;
+       CG(doc_comment_len) = 0;
        SCNG(yy_start_stack_ptr) = 0;
        SCNG(yy_start_stack_depth) = 0;
        SCNG(current_buffer) = NULL;