codetools: understand 'noreturn' procedure modifier

git-svn-id: trunk@43643 -
This commit is contained in:
paul 2014-01-04 14:33:24 +00:00
parent dfd9836690
commit 4db78960d0
2 changed files with 2 additions and 1 deletions

View File

@ -900,6 +900,7 @@ begin
Add('LOCAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
ADD('MWPASCAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('NEAR' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('NORETURN' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('NOSTACKFRAME' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('OLDFPCCALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
Add('OVERLOAD' ,{$ifdef FPC}@{$endif}AllwaysTrue);

View File

@ -1171,7 +1171,7 @@ function TPascalParserTool.KeyWordFuncClassMethod: boolean;
proc specifiers without parameters:
stdcall, virtual, abstract, dynamic, overload, override, cdecl, inline,
compilerproc, rtlproc
compilerproc, rtlproc, noreturn
proc specifiers with parameters:
message <id or number>