From acb7c70264348bc80c151bfc76c7b107e8db99ab Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 26 Mar 2020 11:20:26 -0400 Subject: Switch to 1-based indices in Lua. The only external, 3rd party lexers that would be affected are those implementing their own fold functions. --- doc/LPegLexer.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/LPegLexer.html b/doc/LPegLexer.html index 0e1b81142..e31a091b1 100644 --- a/doc/LPegLexer.html +++ b/doc/LPegLexer.html @@ -1798,7 +1798,7 @@ operator 30

lexer.fold_level (table, Read-only)

-

Table of fold level bit-masks for line numbers starting from zero. +

Table of fold level bit-masks for line numbers starting from 1. Fold level masks are composed of an integer level combined with any of the following bits:

@@ -1829,7 +1829,7 @@ operator 30

lexer.indent_amount (table, Read-only)

Table of indentation amounts in character columns, for line numbers - starting from zero.

+ starting from 1.

@@ -1841,7 +1841,7 @@ operator 30

lexer.line_state (table)

-

Table of integer line states for line numbers starting from zero. +

Table of integer line states for line numbers starting from 1. Line states can be used by lexers for keeping track of persistent states.

@@ -2164,9 +2164,9 @@ operator 30 -- cgit v1.2.3