diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-04-22 15:03:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-04-22 15:03:20 +0800 |
commit | 10bb6c6a994561a9da359a7edabe29d821ab9c6f (patch) | |
tree | f249b8aaa150deaad86dfaa3b53ac457769b8fdd | |
parent | 3cbb4891100a864e17af5a77dec23942caea3577 (diff) | |
download | lua-language-server-10bb6c6a994561a9da359a7edabe29d821ab9c6f.zip |
漏了一处
-rw-r--r-- | script/glob/gitignore.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/glob/gitignore.lua b/script/glob/gitignore.lua index 315efa37..ce0beea6 100644 --- a/script/glob/gitignore.lua +++ b/script/glob/gitignore.lua @@ -19,7 +19,7 @@ end local parser = m.P { 'Main', ['Sp'] = m.S(' \t')^0, - ['Slash'] = m.S('/\\')^1, + ['Slash'] = m.S('/')^1, ['Main'] = m.Ct(m.V'Sp' * m.P'{' * m.V'Pattern' * (',' * expect(m.V'Pattern', 'Miss exp after ","'))^0 * m.P'}') + m.Ct(m.V'Pattern') + m.T'Main Failed' |