Hi,

I dont think it's a bug. Nested comments didn't work on any C compiler I have
seen in the last 12 years, nor does it work in Java. After the first /*, the
parser just waits for */, ignoring other /* on the way, and ignoring other */
after that. So the comment ends after the first */.




Von:  [EMAIL PROTECTED] am 19.03.2001 11:54 GMT

An:   [EMAIL PROTECTED]
Kopie:
Thema:    [PHP-DEV] PHP 4.0 Bug #9835: problems with multiple /* comments




From:             [EMAIL PROTECTED]
Operating system: linux
PHP version:      4.0.3pl1
PHP Bug Type:     Scripting Engine problem
Bug description:  problems with multiple /* comments

seems, that the parser has problems with different /* */
in the source e.G.

...
/*
...
$req="select /*+FIRST_ROWS */ from foo ...";
...
*/

from other language (java, c++ ... ) i know, thats works normally, so it seems
to be a bug in php parser...


--
Edit Bug report at: http://bugs.php.net/?id=9835&edit=1



--
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]





      Mit freundlichen Grüßen

      ExperTeam Henze
      SWest
      D
      Tel.: +49 1775678683 oder +49 2203 5039 3245
      Fax: +49 2203 5039 3942
      EMail: [EMAIL PROTECTED]



-- 
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