Menu

#2045 [LexCPP] Fix 'elif' token length

Bug
closed-fixed
nobody
5
2018-10-02
2018-09-23
No

A small correction in LexerCPP::Lex().
For the "elif" token,
GetRestOfLine(styler, sc.currentPos + 2, true);
should be,
GetRestOfLine(styler, sc.currentPos + 4, true);

I've attached a patch.

1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2018-09-23
    • labels: lexers --> lexers, scintilla
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2018-09-23

    Fix committed as [fa4b41].

     

    Related

    Commit: [fa4b41]

  • Neil Hodgson

    Neil Hodgson - 2018-10-02
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.