Menu

#1931 YAML Lexer has incorrect style for certain comments

Bug
closed-fixed
5
2017-05-27
2017-04-09
Jim Pattee
No

All platforms, version 3.7.4.
The YAML lexer misses styling comments in certain instances.
The attached file, appveyor.yaml, shows the error on lines 10, 57-58, and 61-64.
The attached LexYaml.cxx will fix the problem.

The attached LexYAML.cxx also styles the optional "..." at the end of file.
It uses the same style as the "---" at the begining of the file.

1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2017-04-09
    • labels: scintilla yaml --> scintilla, lexer, yaml
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2017-04-09

    Thanks, committed as [4e2b6c].

     

    Related

    Commit: [4e2b6c]

  • Neil Hodgson

    Neil Hodgson - 2017-05-27
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB