From 36ee3b791e253a00877a7b25e2d94b1dfc90a174 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 12 Jun 2019 00:08:48 +0200 Subject: 2019-06-11 19:28:00 --- context/data/scite/context/lexers/scite-context-lexer-json.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'context/data/scite/context/lexers/scite-context-lexer-json.lua') diff --git a/context/data/scite/context/lexers/scite-context-lexer-json.lua b/context/data/scite/context/lexers/scite-context-lexer-json.lua index 20a2d1d12..78e01fd2c 100644 --- a/context/data/scite/context/lexers/scite-context-lexer-json.lua +++ b/context/data/scite/context/lexers/scite-context-lexer-json.lua @@ -36,9 +36,10 @@ local spaces = space^1 local operator = S(':,{}[]') local fence = openarray + closearray + openhash + closehash -local escape_un = P("\\u") / "0x" * S("09","AF","af") +local escape_un = P("\\u") * S("09","AF","af") local escape_bs = P([[\]]) * P(1) local content = (escape_un + escape_bs + (1-double))^0 +local content = ((1-double))^0 local reserved = P("true") + P("false") -- cgit v1.2.3