Changeset 73 for branches/Transpascal/Compiler/USourceCode.pas
- Timestamp:
- Oct 20, 2010, 11:16:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Transpascal/Compiler/USourceCode.pas
r71 r73 297 297 function SearchVariable(Name: string; Outside: Boolean): TVariable; virtual; 298 298 function SearchConstant(Name: string; Outside: Boolean): TConstant; virtual; 299 function SearchType( Name: string; Outside: Boolean): TType; virtual;299 function SearchType(AName: string; Outside: Boolean): TType; virtual; 300 300 function SearchFunction(Name: string; Outside: Boolean): TFunction; virtual; 301 301 constructor Create; … … 759 759 end; 760 760 761 function TModule.SearchType( Name: string; Outside: Boolean): TType;762 var 763 I: Integer; 764 begin 765 Result := Body.Types.Search( Name, Outside);761 function TModule.SearchType(AName: string; Outside: Boolean): TType; 762 var 763 I: Integer; 764 begin 765 Result := Body.Types.Search(AName, Outside); 766 766 767 767 if not Assigned(Result) and Outside then begin … … 770 770 with TUsedModule(UsedModules[I]) do 771 771 with Module do 772 Result := SearchType( Name, False);772 Result := SearchType(AName, False); 773 773 Inc(I); 774 774 end;
Note:
See TracChangeset
for help on using the changeset viewer.