diff options
author | Marius <mariausol@gmail.com> | 2011-09-17 17:20:13 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-09-17 17:20:13 +0300 |
commit | 6a1645d499e26ab02b365dd4b93da771815d8c0d (patch) | |
tree | 35f096770997609a39a2d777421b85c1e45504e8 /context/data/scite/lexers/scite-context-lexer-lua.lua | |
parent | 32956188684f3f0bd1cc077a6870fdd57fea0cfc (diff) | |
download | context-6a1645d499e26ab02b365dd4b93da771815d8c0d.tar.gz |
beta 2011.09.17 15:56
Diffstat (limited to 'context/data/scite/lexers/scite-context-lexer-lua.lua')
-rw-r--r-- | context/data/scite/lexers/scite-context-lexer-lua.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/context/data/scite/lexers/scite-context-lexer-lua.lua b/context/data/scite/lexers/scite-context-lexer-lua.lua index 2a0f48026..49799a978 100644 --- a/context/data/scite/lexers/scite-context-lexer-lua.lua +++ b/context/data/scite/lexers/scite-context-lexer-lua.lua @@ -1,13 +1,11 @@ local info = { version = 1.002, - comment = "scintilla lpeg lexer for cld/lua", + comment = "scintilla lpeg lexer for lua", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files", } --- Adapted from lua.lua by Mitchell who based it on a lexer by Peter Odding. - local lexer = lexer local token, style, colors, exact_match, no_style = lexer.token, lexer.style, lexer.colors, lexer.exact_match, lexer.style_nothing local P, R, S, C, Cg, Cb, Cs, Cmt = lpeg.P, lpeg.R, lpeg.S, lpeg.C, lpeg.Cg, lpeg.Cb, lpeg.Cs, lpeg.Cmt @@ -20,6 +18,8 @@ local cldlexer = _M _directives = { } -- communication channel +-- this will be eextended + local keywords = { 'and', 'break', 'do', 'else', 'elseif', 'end', 'false', 'for', 'function', 'if', 'in', 'local', 'nil', 'not', 'or', 'repeat', 'return', 'then', 'true', |