Menu

#1902 scintilla: matlab lexer doesnt detect invalid block comments fully

Bug
closed-fixed
5
2017-02-20
2017-01-18
lostbard
No

In matlab block comments should start with %{ with potential spaces before and after on the line.
Likewise block comments should end with %} with potentail spaces before and after.

Ie: anything with non spaces in it would be a line comment, not a block comment.

Current lexer already checks that a block comment starts with [spaces]* %{, however does not check to the end of the line.

Patch attached that checks to end of line

1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2017-01-19
    • labels: --> scintilla, lexer, matlab
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2017-01-19

    Committed as [156423] with some minor changes to white space in lexer source.

     

    Related

    Commit: [156423]

  • Neil Hodgson

    Neil Hodgson - 2017-02-20
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.