summary refs log tree commit diff stats
path: root/tools/grammar_nanny.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tools/grammar_nanny.nim')
-rw-r--r--tools/grammar_nanny.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/grammar_nanny.nim b/tools/grammar_nanny.nim
index d07c2bf8c..397041559 100644
--- a/tools/grammar_nanny.nim
+++ b/tools/grammar_nanny.nim
@@ -16,8 +16,8 @@ proc checkGrammarFileImpl(cache: IdentCache, config: ConfigRef) =
   if stream != nil:
     declaredSyms.incl "section" # special case for 'section(RULE)' in the grammar
     var
-      L: TLexer
-      tok: TToken
+      L: Lexer
+      tok: Token
     initToken(tok)
     openLexer(L, f, stream, cache, config)
     # load the first token: