summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-22 10:49:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-22 10:49:01 +0800
commit5a012e5f933453095dc1517192688831c9903958 (patch)
tree093087502bd5ec0716f6358f0c90b439b9a688b1 /server
parent389d4e454e3ba30c3c4f285c4d4f7c4c63faf609 (diff)
downloadlua-language-server-5a012e5f933453095dc1517192688831c9903958.zip
不需要捕获
Diffstat (limited to 'server')
-rw-r--r--server/src/parser/grammar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua
index b63fa679..c172dcac 100644
--- a/server/src/parser/grammar.lua
+++ b/server/src/parser/grammar.lua
@@ -96,7 +96,7 @@ TRUE <- Sp {} -> TRUE
UNTIL <- Sp 'until' Cut
WHILE <- Sp 'while' Cut
-Esc <- '\' {EChar}
+Esc <- '\' EChar
EChar <- 'a' -> ea
/ 'b' -> eb
/ 'f' -> ef