From: Dale A. <da...@da...> - 2023-02-24 20:52:23
|
The fortran mode file defines literals like this: <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE"> <BEGIN>"</BEGIN> <END>"</END> </SPAN> <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE"> <BEGIN>'</BEGIN> <END>'</END> </SPAN> Is that what you're looking for? Dale On Thu, Feb 23, 2023 at 5:24 PM J Leslie Turriff <jlt...@ma...> wrote: > > Hello, > How would I code the rule for a literal that uses, instead of a backslash, a doubled > string delimiter to escape it when embedded in a string? E.g. > | 'This string doesn''t end before this last quote.' > > This notation is used by several languages, e.g. FORTRAN, COBOL, PL/I, Rexx. > > Leslie > -- > Platform: Linux > Distribution: openSUSE Leap 15.4 (x86_64) > > > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users |