Added Macro Substitution to ExecuteUserCommands. Patch by Michael Ring

git-svn-id: trunk@61889 -
This commit is contained in:
martin 2019-09-16 15:15:04 +00:00
parent 63cb1e20c9
commit 9ef0d523bc

View File

@ -61,7 +61,7 @@ uses
FileUtil, LazUTF8, LazClasses, LazLoggerBase, LazStringUtils, Maps,
UTF8Process, LazFileUtils,
// IdeIntf
BaseIDEIntf, PropEdits,
BaseIDEIntf, PropEdits, MacroIntf,
// DebuggerIntf
DbgIntfBaseTypes, DbgIntfDebuggerBase, DbgIntfPseudoTerminal,
// LazDebuggerGdbmi
@ -11383,8 +11383,9 @@ begin
else
if s[1] <> '#' then begin
IDEMacros.SubstituteMacros(s);
Result := ExecuteCommand(s,[], f, t);
if not Result then
if (not Result) then
break;
end;
end;