diff options
author | Marius <mariausol@gmail.com> | 2012-02-16 11:20:24 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-02-16 11:20:24 +0200 |
commit | e0e3ed2de96caf76d1065b834ddd4f9ba62a1e55 (patch) | |
tree | 077ac0ae3f821511a51bc2118a99f5ad62dae83b /context/data/scite/lexers | |
parent | 620e890d8993f2a1120b5069f97b01ca1841f50f (diff) | |
download | context-e0e3ed2de96caf76d1065b834ddd4f9ba62a1e55.tar.gz |
beta 2012.02.16 09:55
Diffstat (limited to 'context/data/scite/lexers')
-rw-r--r-- | context/data/scite/lexers/scite-context-lexer-pdf.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/context/data/scite/lexers/scite-context-lexer-pdf.lua b/context/data/scite/lexers/scite-context-lexer-pdf.lua index bddcc282d..05517bb64 100644 --- a/context/data/scite/lexers/scite-context-lexer-pdf.lua +++ b/context/data/scite/lexers/scite-context-lexer-pdf.lua @@ -12,7 +12,7 @@ local lexer = lexer local token = lexer.token local P, R, S = lpeg.P, lpeg.R, lpeg.S -local pdflexer = { "pdf" } +local pdflexer = { _NAME = "pdf" } local pdfobjectlexer = lexer.load("scite-context-lexer-pdf-object") local pdfxreflexer = lexer.load("scite-context-lexer-pdf-xref") @@ -60,3 +60,5 @@ pdflexer._rules = { } pdflexer._tokenstyles = context.styleset + +return pdflexer |