src-highlite.git - src-highlite

index : src-highlite.git
src-highlite
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019年06月02日 10:47:50 -0600
committerTom Tromey <tom@tromey.com>2019年06月02日 10:47:50 -0600
commit106c84cbb777c215749b689ba4ab7510854614ad (patch)
treeabe5f91c161f7706b68d1bf2786336ec978e3650 /src
parent4463150eec2516c95e2586a3056aab7a6350c60f (diff)
downloadsrc-highlite-106c84cbb777c215749b689ba4ab7510854614ad.tar.gz
Handle Ada attributes correctly
I noticed that Ada attributes are not handled correctly; they are treated like strings. This patch changes character literals to be more precise -- and correct, because I don't believe Ada actually has escape syntax.
Diffstat (limited to 'src')
-rw-r--r--src/ada.lang 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ada.lang b/src/ada.lang
index 8084ef8..4d1df9e 100644
--- a/src/ada.lang
+++ b/src/ada.lang
@@ -29,7 +29,7 @@ comment start "--"
include "number.lang"
string delim "\"" "\"" escape "\\"
-string delim "'" "'" escape "\\"
+string = '\'.\''
type = "Integer|Float|Duration|Character|String|Wide_String|Boolean" nonsensitive
generated by cgit v1.2.3 (git 2.25.1) at 2025年10月01日 08:20:13 +0000

AltStyle によって変換されたページ (->オリジナル) /