From af6bb061ff447f860c514b60202c3192ceec952b Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 21 Oct 2026 10:31:09 +0000 Subject: fix(plugin): recognize literal escapes and C string suffixes Co-Authored-By: Claude Opus 5.5 --- plugin/examples/highlighting.cps | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugin/examples/highlighting.cps') diff --git a/plugin/examples/highlighting.cps b/plugin/examples/highlighting.cps index b5deaee..f80fd8f 100644 --- a/plugin/examples/highlighting.cps +++ b/plugin/examples/highlighting.cps @@ -17,7 +17,10 @@ DECLARE Letter : CHAR Ready <- TRUE AND NOT FALSE Total <- -3.5 + 2 * 4 / 2 Text <- "CIE // [()]" & " pseudocode" -Letter <- 'A' +Letter <- '\'' +Text <- "Quote: \"; slash: \\; byte: \x41; Unicode: \u0042" +DECLARE RawText : C_STRING +RawText <- "Native text"C FOR Index <- 1 TO 3 STEP 1 Values[Index] <- Index MOD 2 -- cgit v1.3.1-4-g156e