From 053309e60aee1eda594a4817ac8ac2fb8c18fb04 Mon Sep 17 00:00:00 2001 From: "rumpf_a@web.de" <> Date: Wed, 21 Oct 2009 10:20:15 +0200 Subject: version 0.8.2 --- nim/scanner.pas | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'nim/scanner.pas') diff --git a/nim/scanner.pas b/nim/scanner.pas index 05f903622..c03ae9224 100755 --- a/nim/scanner.pas +++ b/nim/scanner.pas @@ -143,19 +143,16 @@ type // or float literals literal: string; // the parsed (string) literal; and // documentation comments are here too - next: PToken; // next token; used for arbitrary look-ahead + next: PToken; // next token; can be used for arbitrary look-ahead end; PLexer = ^TLexer; TLexer = object(TBaseLexer) - // lexers can be put into a stack through the next pointer; - // this feature is currently unused, however filename: string; - next: PLexer; indentStack: array of int; // the indentation stack dedent: int; // counter for DED token generation indentAhead: int; // if > 0 an indendation has already been read - // this is needed because scanning # comments + // this is needed because scanning comments // needs so much look-ahead end; @@ -920,7 +917,6 @@ begin // got an documentation comment or tkIndent, return that: if tok.toktype <> tkInvalid then exit; - // to the parser c := L.buf[L.bufpos]; if c in SymStartChars - ['r', 'R', 'l'] then // common case first getSymbol(L, tok) -- cgit 1.4.1-2-gfad0