ID: 8666
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

Sort of odd to open and close a bug, I guess.  But I wanted a record of this bug in 
the bug database just in case.

Previous Comments:
---------------------------------------------------------------------------

[2001-01-12 01:55:06] [EMAIL PROTECTED]
<?highlight_string('<?
        // Test
?>');?>

---------------------------------------
zend_highlight.c(154) : Block 0x082D6A8C status:
Beginning:      Overrun (magic=0x081DAEFC, expected=0x7312F8DC)
      End:      Unknown
---------------------------------------

Suggested fix:

Index: zend_highlight.c
===================================================================
RCS file: /repository/Zend/zend_highlight.c,v
retrieving revision 1.16
diff -u -r1.16 zend_highlight.c
--- zend_highlight.c    2000/10/29 14:35:34     1.16
+++ zend_highlight.c    2001/01/12 06:55:05
@@ -149,6 +149,7 @@
                                case T_OPEN_TAG_WITH_ECHO:
                                case T_CLOSE_TAG:
                                case T_WHITESPACE:
+                               case T_COMMENT:
                                        break;
                                default:
                                        efree(token.value.str.val);

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=8666


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to