summaryrefslogtreecommitdiff
path: root/context/data/scite/lexers/scite-context-lexer-pdf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'context/data/scite/lexers/scite-context-lexer-pdf.lua')
-rw-r--r--context/data/scite/lexers/scite-context-lexer-pdf.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/context/data/scite/lexers/scite-context-lexer-pdf.lua b/context/data/scite/lexers/scite-context-lexer-pdf.lua
index 61cf819f0..6ed7d1ecd 100644
--- a/context/data/scite/lexers/scite-context-lexer-pdf.lua
+++ b/context/data/scite/lexers/scite-context-lexer-pdf.lua
@@ -13,11 +13,11 @@ local token = lexer.token
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local pdflexer = { _NAME = "pdf" }
+local whitespace = lexer.WHITESPACE -- triggers states
+
local pdfobjectlexer = lexer.load("scite-context-lexer-pdf-object")
local pdfxreflexer = lexer.load("scite-context-lexer-pdf-xref")
-local whitespace = lexer.WHITESPACE -- triggers states
-
local context = lexer.context
local patterns = context.patterns