#19 support # line comment syntax

open
None
5
2008-12-12
2008-11-28
John Foerch
No

The # char begins a line comment in php. It would be great if php-mode highlighted these comments appropriately.

Discussion

    • assigned_to: nobody --> ashawley
     
  • John Foerch
    John Foerch
    2008-12-12

    Many thanks for the speedy fix!

     
  • Works for me. I feared that comments with quotes would break but it works just fine.
    Before this patch, a comment like this:
    # Someone's happy
    would cause all the lines after it to be considered a comment until the next quote.
    Good stuff.

    Thanks.