aboutsummaryrefslogtreecommitdiff
path: root/plugin/examples
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-21 10:31:09 +0000
committer_ov4 <ov4@ov4.org>2026-10-21 10:31:09 +0000
commitaf6bb061ff447f860c514b60202c3192ceec952b (patch)
tree09cf21eb75b8d7f6b1771c38765341836a2b890c /plugin/examples
parent9939ebe7f0ec25b042c9d83ed651cde0e2ea3a30 (diff)
fix(plugin): recognize literal escapes and C string suffixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'plugin/examples')
-rw-r--r--plugin/examples/highlighting.cps5
1 files changed, 4 insertions, 1 deletions
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