From ec02d0abb083a556a5240c27b4baf8a7dc606cc6 Mon Sep 17 00:00:00 2001 From: Sven/Sarah Barth Date: Tue, 18 Jan 2022 23:09:13 +0100 Subject: [PATCH] + add constants for the Invoke symbol of a function reference interface (both for declaring and finding it) --- compiler/symconst.pas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/symconst.pas b/compiler/symconst.pas index 32bb59d3a3..cb93aadc5c 100644 --- a/compiler/symconst.pas +++ b/compiler/symconst.pas @@ -160,6 +160,10 @@ const { prefix for names of class helper procsyms added to regular symtables } class_helper_prefix = 'CH$'; + { name of the Invoke method of a function reference interface } + method_name_funcref_invoke_decl = 'Invoke'; + method_name_funcref_invoke_find = 'INVOKE'; + { tsym.symid value in case the sym has not yet been registered } symid_not_registered = -2; { tsym.symid value in case the sym has been registered, but not put in a