aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/Lexer.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Lexer.txt')
-rw-r--r--doc/Lexer.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Lexer.txt b/doc/Lexer.txt
index 9b9e54f5a..d7023b36b 100644
--- a/doc/Lexer.txt
+++ b/doc/Lexer.txt
@@ -89,7 +89,7 @@ loop iterates over characters, like this:
An alternative would be to use a "state-based" approach. The outer loop
would iterate over states, like this:
- lengthDoc = startPos+lenth ;
+ lengthDoc = startPos+length ;
for ( unsigned int i = startPos ;; ) {
char ch = styler.SafeGetCharAt(i);
int new_state = 0 ;