mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 18:17:13 +01:00
Merge branch 'codetools-internproc-add' into 'main'
Internproc processing added to CodeTools when modeswitch PrefixedAttributes See merge request freepascal.org/lazarus/lazarus!73
This commit is contained in:
commit
62db64ddb8
@ -929,6 +929,7 @@ begin
|
||||
Add('FAR' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('FORWARD' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('INLINE' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('INTERNPROC' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('INTERRUPT' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('IOCHECK' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('LIBRARY' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
|
||||
@ -1908,6 +1908,11 @@ begin
|
||||
SaveRaiseCharExpectedButAtomFound(20170421195502,':');
|
||||
ReadNextAtom;
|
||||
ReadConstant(true,false,[]);
|
||||
end else if UpAtomIs('INTERNPROC') then begin
|
||||
if not ReadNextAtomIsChar(':') then
|
||||
SaveRaiseCharExpectedButAtomFound(20210616075400,':');
|
||||
ReadNextAtom;
|
||||
ReadConstant(true,false,[]);
|
||||
end else if UpAtomIs('INTERRUPT') then begin
|
||||
ReadNextAtom;
|
||||
end else if UpAtomIs('SYSCALL') then begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user