#1509 MSSQL Lexer: ';' not styled as an operator

Bug
closed-fixed
Neil Hodgson
5
2013-08-31
2013-08-02
Eric Promislow
No

It's deliberately styled as DEFAULT. In a language like this only white-space should be styled as default. Attachment w/ patch on the way.

Discussion

  • Eric Promislow
    Eric Promislow
    2013-08-02

    patch enclosed

     
    Attachments
  • Neil Hodgson
    Neil Hodgson
    2013-08-03

    The patch adds '{}[]:;?.' to the set of characters treated as operators. Square brackets '[]' were explicitly handled but the others are now seen as operators. Couldn't find an MS SQL example using ':' which is used for bind variables in other SQL dialects. '{}' are for ODBC escape sequences. There are examples of the others ';?.' in similar roles to operators.

    Committed as [b8e130] although ':' may be wrong.

    MS SQL syntax
    ODBC escape sequences

     

    Related

    Commit: [b8e130]

  • Neil Hodgson
    Neil Hodgson
    2013-08-03

    • labels: --> scintilla, lexer, sql
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson
    Neil Hodgson
    2013-08-31

    • status: open-fixed --> closed-fixed