IDE: debugln when environmentoption macro fails

git-svn-id: trunk@41937 -
This commit is contained in:
mattias 2013-06-29 12:46:00 +00:00
parent ab277e68c5
commit 2c88bfd8f5
2 changed files with 4 additions and 2 deletions

View File

@ -1776,7 +1776,9 @@ begin
Parsing:=true;
try
ParsedValue:=UnparsedValue;
GlobalMacroList.SubstituteStr(ParsedValue);
if not GlobalMacroList.SubstituteStr(ParsedValue) then begin
debugln(['TEnvironmentOptions.GetParsedValue failed for ',dbgs(o)]);
end;
ParseStamp:=CompilerParseStamp;
case o of

View File

@ -312,7 +312,7 @@ begin
if InUse>MaxUsePerMacro then begin
// circle detected
Handled:=true;
MacroStr:='<CIRCLE:'+MacroName+'>';
MacroStr:='<CYCLE:'+MacroName+'>';
break;
end;
end;