diff options
Diffstat (limited to 'lexers')
| -rw-r--r-- | lexers/LexLPeg.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lexers/LexLPeg.cxx b/lexers/LexLPeg.cxx index c73c2d3db..a34b10fda 100644 --- a/lexers/LexLPeg.cxx +++ b/lexers/LexLPeg.cxx @@ -678,7 +678,7 @@ public:      lua_pushcfunction(L, lua_error_handler), lua_insert(L, -2);      lua_pushvalue(L, -3);      lua_pushlstring(L, buffer->BufferPointer() + startPos, lengthDoc); -    lua_pushinteger(L, styler.StyleAt(startPos)); +    lua_pushinteger(L, styler.StyleAt(startPos) + 1);      if (lua_pcall(L, 3, 1, -5) != LUA_OK) return LogError(L);      if (!lua_istable(L, -1))        return LogError(L, "Table of tokens expected from 'lexer.lex'"); | 
