From 5b9513b17d84e9a44fcc4a0af7cfeef36c9db294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 8 Jun 2007 18:55:44 +0000 Subject: [PATCH] Tokenize: generate tokens on '#define' (CheckIncludedHeaders) --- tokenize.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tokenize.cpp b/tokenize.cpp index 96f1b7c9f..06abd584c 100644 --- a/tokenize.cpp +++ b/tokenize.cpp @@ -322,6 +322,9 @@ void Tokenize(const char FileName[]) if (State==Value) { + addtoken("def", lineno, CurrentFile); + addtoken(strId, lineno, CurrentFile); + addtoken(";", lineno, CurrentFile); Define(strId, CurrentToken); }