mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 08:49:38 +02:00
* Always define makestub
git-svn-id: trunk@46363 -
This commit is contained in:
parent
6dac888ae5
commit
58816b3bc6
@ -204,9 +204,12 @@ end;
|
||||
|
||||
procedure TStubCreator.Execute;
|
||||
|
||||
|
||||
begin
|
||||
FLastErrorClass:='';
|
||||
FLastError:='';
|
||||
if Defines.IndexOf('MakeStub')=-1 then
|
||||
|
||||
Try
|
||||
DoExecute;
|
||||
except
|
||||
@ -307,6 +310,8 @@ begin
|
||||
SCanner.OnLog:=SE.Onlog;
|
||||
For S in FDefines do
|
||||
Scanner.AddDefine(S);
|
||||
if FDefines.IndexOf('MAKESTUB')=-1 then
|
||||
Scanner.AddDefine('MAKESTUB');
|
||||
Scanner.OpenFile(InputFilename);
|
||||
// Parser
|
||||
Parser:=TPasParser.Create(Scanner, FileResolver, SE);
|
||||
|
Loading…
Reference in New Issue
Block a user