summaryrefslogtreecommitdiff
path: root/context/data/scite/context/lexers/scite-context-lexer-web-snippets.lua
diff options
context:
space:
mode:
Diffstat (limited to 'context/data/scite/context/lexers/scite-context-lexer-web-snippets.lua')
-rw-r--r--context/data/scite/context/lexers/scite-context-lexer-web-snippets.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/context/data/scite/context/lexers/scite-context-lexer-web-snippets.lua b/context/data/scite/context/lexers/scite-context-lexer-web-snippets.lua
index 3cef71739..5121030cc 100644
--- a/context/data/scite/context/lexers/scite-context-lexer-web-snippets.lua
+++ b/context/data/scite/context/lexers/scite-context-lexer-web-snippets.lua
@@ -75,7 +75,7 @@ local t_reference = token("label",p_reference) * token("function",(1-p_endofweb)
-- @'char' (ascii code)
-local p_character = p_beginofweb * S("'")
+local p_character = p_beginofweb * squote
local t_character = token("label",p_character) * token("reserved",(1-squote)^1) * token("label",squote)
-- @l nonascii
@@ -129,5 +129,4 @@ websnippets.pattern = P (
+ t_escape
)
-
return websnippets