mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 21:40:20 +02:00
jcf2: added proc modifier vectorcall, patch #33134
git-svn-id: trunk@57291 -
This commit is contained in:
parent
51d23cbd85
commit
017493f462
@ -192,6 +192,7 @@ type
|
|||||||
ttCVar,
|
ttCVar,
|
||||||
ttNostackframe,
|
ttNostackframe,
|
||||||
ttNested,
|
ttNested,
|
||||||
|
ttVectorcall,
|
||||||
// used in asm
|
// used in asm
|
||||||
ttOffset,
|
ttOffset,
|
||||||
ttPtr,
|
ttPtr,
|
||||||
@ -365,7 +366,7 @@ const
|
|||||||
ttOverload, ttReintroduce,
|
ttOverload, ttReintroduce,
|
||||||
ttDeprecated, ttLibrary, ttPlatform, ttExperimental, ttUnimplemented,
|
ttDeprecated, ttLibrary, ttPlatform, ttExperimental, ttUnimplemented,
|
||||||
ttStatic, ttFinal, ttVarArgs, ttUnsafe, ttEnumerator, ttNostackframe, ttInterrupt,
|
ttStatic, ttFinal, ttVarArgs, ttUnsafe, ttEnumerator, ttNostackframe, ttInterrupt,
|
||||||
ttPublic];
|
ttPublic, ttVectorcall];
|
||||||
|
|
||||||
ClassDirectives: TTokenTypeSet =
|
ClassDirectives: TTokenTypeSet =
|
||||||
[ttPrivate, ttProtected, ttPublic, ttPublished, ttAutomated, ttStrict];
|
[ttPrivate, ttProtected, ttPublic, ttPublished, ttAutomated, ttStrict];
|
||||||
@ -381,7 +382,7 @@ const
|
|||||||
ttNear, ttReadOnly, ttDynamic, ttNoDefault, ttRegister,
|
ttNear, ttReadOnly, ttDynamic, ttNoDefault, ttRegister,
|
||||||
ttExport, ttOverride, ttOverload, ttResident, ttLocal,
|
ttExport, ttOverride, ttOverload, ttResident, ttLocal,
|
||||||
ttImplements, ttReintroduce,
|
ttImplements, ttReintroduce,
|
||||||
ttLibrary, ttPlatform, ttStatic, ttFinal, ttVarArgs, ttCVar];
|
ttLibrary, ttPlatform, ttStatic, ttFinal, ttVarArgs, ttCVar, ttVectorcall];
|
||||||
|
|
||||||
ProcedureWords: TTokenTypeSet = [ttProcedure, ttFunction, ttConstructor, ttDestructor, ttOperator];
|
ProcedureWords: TTokenTypeSet = [ttProcedure, ttFunction, ttConstructor, ttDestructor, ttOperator];
|
||||||
|
|
||||||
@ -683,6 +684,7 @@ begin
|
|||||||
AddKeyword('resident', wtReservedWordDirective, ttResident);
|
AddKeyword('resident', wtReservedWordDirective, ttResident);
|
||||||
AddKeyword('local', wtReservedWordDirective, ttLocal);
|
AddKeyword('local', wtReservedWordDirective, ttLocal);
|
||||||
AddKeyword('generic', wtReservedWordDirective, ttGeneric);
|
AddKeyword('generic', wtReservedWordDirective, ttGeneric);
|
||||||
|
AddKeyword('vectorcall', wtReservedWordDirective, ttVectorcall);
|
||||||
|
|
||||||
AddKeyword('implements', wtReservedWordDirective, ttImplements);
|
AddKeyword('implements', wtReservedWordDirective, ttImplements);
|
||||||
AddKeyword('reintroduce', wtReservedWordDirective, ttReintroduce);
|
AddKeyword('reintroduce', wtReservedWordDirective, ttReintroduce);
|
||||||
|
Loading…
Reference in New Issue
Block a user