added codetools parser: procedue name; public name aname;

git-svn-id: trunk@8905 -
This commit is contained in:
mattias 2006-03-10 13:26:41 +00:00
parent 387228d852
commit d730a8875a
2 changed files with 2 additions and 1 deletions

View File

@ -672,6 +672,7 @@ begin
Add('DEPRECATED' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('EXPORT' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('EXTERNAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('PUBLIC' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('FAR' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('FORWARD' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('INLINE' ,{$ifdef FPC}@{$endif}AllwaysTrue);

View File

@ -1380,7 +1380,7 @@ begin
if UpAtomIs('MESSAGE') or UpAtomIs('DISPID') then begin
ReadNextAtom;
ReadConstant(true,false,[]);
end else if UpAtomIs('EXTERNAL') then begin
end else if UpAtomIs('EXTERNAL') or UpAtomIs('PUBLIC') then begin
HasForwardModifier:=true;
ReadNextAtom;
if CurPos.Flag<>cafSemicolon then begin