diff --git a/components/codetools/codetools.lpk b/components/codetools/codetools.lpk index 033e15beb0..c8b4d3d569 100644 --- a/components/codetools/codetools.lpk +++ b/components/codetools/codetools.lpk @@ -5,20 +5,22 @@ - + + - + diff --git a/components/codetools/pascalreadertool.pas b/components/codetools/pascalreadertool.pas index 66e6996487..0014c2fed7 100644 --- a/components/codetools/pascalreadertool.pas +++ b/components/codetools/pascalreadertool.pas @@ -1941,6 +1941,7 @@ function TPascalReaderTool.FindForwardTypeNode(TypeNode: TCodeTreeNode; function Next: TCodeTreeNode; begin + Result:=FindForwardTypeNode; if Result.PriorBrother<>nil then // search upwards Result:=Result.PriorBrother @@ -2002,6 +2003,7 @@ function TPascalReaderTool.FindTypeOfForwardNode(TypeNode: TCodeTreeNode function Next: TCodeTreeNode; begin + Result:=FindTypeOfForwardNode; if Result.NextBrother<>nil then // search forwards Result:=Result.NextBrother diff --git a/ide/buildlazdialog.pas b/ide/buildlazdialog.pas index e315968125..d4b4903b63 100644 --- a/ide/buildlazdialog.pas +++ b/ide/buildlazdialog.pas @@ -304,6 +304,7 @@ function ShowConfigureBuildLazarusDlg( // mrYes=save and compile var ConfigBuildLazDlg: TConfigureBuildLazarusDlg; + OldExtraOptions: String; begin Result := mrCancel; ConfigBuildLazDlg := TConfigureBuildLazarusDlg.Create(nil); @@ -313,7 +314,10 @@ begin if Result in [mrOk,mrYes] then begin //DebugLn('ShowConfigureBuildLazarusDialog'); + OldExtraOptions:=AOptions.ExtraOptions; AOptions.Assign(ConfigBuildLazDlg.Options); + if OldExtraOptions<>AOptions.ExtraOptions then + IncreaseCompilerParseStamp; end; finally ConfigBuildLazDlg.Free;