bugGNU Enscript - Bugs: bug #63701, Missing support for Java text...

 
 

bug #63701: Missing support for Java text blocks

Submitter:  Svyatoslav Gryaznov <nightuser>
Submitted:  Wed 25 Jan 2023 11:14:02 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 25 Jan 2023 11:14:02 AM UTC, original submission:  

Java 15 introduced support for text blocks, which allow unescaped double quotation marks. The following code is highlighted incorrectly:

    String test = """
        "hello
    """;

The attached patch fixes this.

Svyatoslav Gryaznov <nightuser>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #54260:  java_text_blocks.patch added by nightuser (684B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nightuser (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-25 nightuser Attached File- Added java_text_blocks.patch, #54260

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code