Menu

#1047 Support Go's backquoted raw strings in LexCPP.cxx

Committed
closed
5
2014-05-22
2014-04-02
No

Simple change to LexCPP: Add an option "lexer.cpp.backquoted.strings" and delimit multi-line raw strings with ... if it's true. These strings don't allow embedded backquotes, so no escaping is needed, so the SCE_C_STRINGRAW state works fine.

1 Attachments

Discussion

  • Eric Promislow

    Eric Promislow - 2014-04-03

    Unfortunately the backquotes were interpreted by the markdown processor.

    I meant something like this:

    log.Printf("%s", `first line
    second line
    third line`);

     
  • Neil Hodgson

    Neil Hodgson - 2014-04-03

    Committed as [6e84f5].

     

    Related

    Commit: [6e84f5]

  • Neil Hodgson

    Neil Hodgson - 2014-04-03
    • labels: --> scintilla, lexer, c++
    • assigned_to: Neil Hodgson
    • Group: Completed --> Committed
     
  • Neil Hodgson

    Neil Hodgson - 2014-05-22
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.