From a655747b6d9520ad74150a50d4d1c858e19d2a85 Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 20 Aug 2009 19:58:48 +0000 Subject: [PATCH] IDE: invalidate macros when adding a project dependency git-svn-id: trunk@21370 - --- ide/project.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ide/project.pp b/ide/project.pp index 95790a0ccc..79416c077d 100644 --- a/ide/project.pp +++ b/ide/project.pp @@ -5206,8 +5206,8 @@ begin exit; end; Exclude(FFlags,ptfCustomDefinesChanged); - UpdateDefinesForCustomDefines; - CodeToolBoss.DefineTree.ClearCache; + UpdateDefinesForCustomDefines; // maybe custom defines changed + IncreaseCompilerParseStamp; // invalidate macros end; procedure TProjectDefineTemplates.UpdateGlobalValues;