Menu

#905 Again %> problem in PHP comment

Bug
open-accepted
2
2022-04-09
2010-01-30
Anonymous
No

Sorry, me again... I guess you didn't get me. The %> breaks it, but it shouldn't (unless the asp_tags directive is enabled). Hey, who the hell uses ASP tags in an PHP file within <?php ?> anyway ??? I only used this as a PLACEHOLDER for myself, that's when I found this bug. It's supposed to be IGNORED as in fact, it IS a PHP COMMENT. The PHP code IS working and there is NO syntax mistake !!! So I would expect Scintilla to WORK like the code is working - PROPERLY :-)

Discussion

  • Neil Hodgson

    Neil Hodgson - 2010-01-30

    OK, I will accept a patch but will not be working on this myself.

     
  • Neil Hodgson

    Neil Hodgson - 2010-01-30
    • priority: 5 --> 2
    • assigned_to: nobody --> nyamatongwe
    • status: open --> open-accepted
     
  • HappyDog

    HappyDog - 2014-05-22

    Still a very annoying bug - breaks PHP files with %> in a comment!

    There was another ticket I found, which resolved a similar issue in single-line comments that contained <?php. Perhaps the code submitted there will help someone fix this issue, too?

    http://sourceforge.net/p/scintilla/bugs/848/

     
  • Zufu Liu

    Zufu Liu - 2022-04-09
    • labels: Scintilla --> Scintilla, lexilla, php
     

Log in to post a comment.