mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 20:59:06 +02:00
JCF2: Support nested procedure types. Issue #31823, patch from CCRDude.
git-svn-id: trunk@54963 -
This commit is contained in:
parent
4676d39ba2
commit
19d467d3e1
@ -1193,6 +1193,12 @@ begin
|
|||||||
RecogniseGenericType;
|
RecogniseGenericType;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
if fcTokenList.FirstSolidTokenType = ttIs then
|
||||||
|
begin
|
||||||
|
Recognise(ttIs);
|
||||||
|
Recognise(ttNested);
|
||||||
|
end;
|
||||||
|
|
||||||
// the type can be deprecated
|
// the type can be deprecated
|
||||||
if fcTokenList.FirstSolidTokenType = ttDeprecated then
|
if fcTokenList.FirstSolidTokenType = ttDeprecated then
|
||||||
Recognise(ttDeprecated);
|
Recognise(ttDeprecated);
|
||||||
|
@ -191,6 +191,7 @@ type
|
|||||||
ttGeneric,
|
ttGeneric,
|
||||||
ttCVar,
|
ttCVar,
|
||||||
ttNostackframe,
|
ttNostackframe,
|
||||||
|
ttNested,
|
||||||
// used in asm
|
// used in asm
|
||||||
ttOffset,
|
ttOffset,
|
||||||
ttPtr,
|
ttPtr,
|
||||||
@ -687,6 +688,7 @@ begin
|
|||||||
|
|
||||||
AddKeyword('cvar', wtReservedWordDirective, ttCVar);
|
AddKeyword('cvar', wtReservedWordDirective, ttCVar);
|
||||||
AddKeyword('nostackframe', wtReservedWordDirective, ttNostackframe);
|
AddKeyword('nostackframe', wtReservedWordDirective, ttNostackframe);
|
||||||
|
AddKeyword('nested', wtReservedWordDirective, ttNested);
|
||||||
|
|
||||||
// asm
|
// asm
|
||||||
AddKeyword('offset', wtReservedWordDirective, ttOffset);
|
AddKeyword('offset', wtReservedWordDirective, ttOffset);
|
||||||
|
Loading…
Reference in New Issue
Block a user