diff options
Diffstat (limited to 'context/data/scite/context')
-rw-r--r-- | context/data/scite/context/lexers/scite-context-lexer-json.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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 78e01fd2c..ca7add07d 100644 --- a/context/data/scite/context/lexers/scite-context-lexer-json.lua +++ b/context/data/scite/context/lexers/scite-context-lexer-json.lua @@ -37,9 +37,9 @@ local operator = S(':,{}[]') local fence = openarray + closearray + openhash + closehash 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 escape_bs = P("\\") * P(1) +----- content = (escape_un + escape_bs + (1-double))^0 +local content = (escape_bs + (1-double))^0 local reserved = P("true") + P("false") |