Sven/Sarah Barth
|
22bbcf4b27
+ add utility function to retrieve the invoke procdef of a function reference interface
|
3 жил өмнө |
Sven/Sarah Barth
|
833a971877
+ add utility function to check whether an objectdef is an invokable one
|
3 жил өмнө |
Sven/Sarah Barth
|
f0748ad59b
+ add flag to denote that an objectdef is invokable, thus can be used like a function variable
|
3 жил өмнө |
Sven/Sarah Barth
|
122c6c92cb
+ add function to check whether a def is an invokable function reference
|
4 жил өмнө |
Sven/Sarah Barth
|
b28495a423
+ add flag to denote an object def as a function reference
|
3 жил өмнө |
Sven/Sarah Barth
|
ec02d0abb0
+ add constants for the Invoke symbol of a function reference interface (both for declaring and finding it)
|
3 жил өмнө |
Sven/Sarah Barth
|
2912e38e91
+ add modeswitch for anonymous function and function references
|
4 жил өмнө |
Sven/Sarah Barth
|
5e148c1dca
+ add a new tproccopytyp pc_normal_no_paras to copy an abstractprocdef without its parameters (useful if the parameters themselves will be reused and the original def otherwise deleted)
|
3 жил өмнө |
Sven/Sarah Barth
|
6a9b4a1b13
+ apply patch by Blaise.ru: allow initialisation of method pointers with class methods (when class types are
|
3 жил өмнө |
Sven/Sarah Barth
|
bc4eb00a7a
* apply patch by Blaise.ru: proper code generation for assigning class non-static methods, accessed via a class reference type, to method pointers
|
3 жил өмнө |
Sven/Sarah Barth
|
6e7a82440e
* apply patch by Blaise.ru: avoid internal error when assigning class methods, accessed via a class reference type, to incompatible procvars
|
3 жил өмнө |
Sven/Sarah Barth
|
a8cf67d73b
* apply patch by Blaise.ru: reject assignments of instance methods, accessed via a type, to method pointers
|
3 жил өмнө |
Sven/Sarah Barth
|
acee4eb27a
- apply patch by Blaise.ru: pdflags are no longer required in generate_specialization_phase2() after parse_proc_directives() was done, so remove its unused modification after that call
|
3 жил өмнө |
Sven/Sarah Barth
|
e5df46722e
* apply part of patch by Blaise.ru: reduce code duplication when parsing anonymous procvar types
|
3 жил өмнө |
Sven/Sarah Barth
|
bd226c00f1
* apply part of patch by Blaise.ru: check only once whether writable consts are enabled or not by determining the type of the assembly list earlier (it's only not needed in an error case anyway)
|
3 жил өмнө |
Sven/Sarah Barth
|
e5ac99a4c9
* apply patch by Blaise.ru: parse_object_proc_directives() and parse_object_record_directives() should only be called with procdefs, so change the parameter from tabstractprocdef to tprocdef to make this explicit
|
3 жил өмнө |
Sven/Sarah Barth
|
9c9c6cc81b
* apply patch by Blaise.ru:
|
3 жил өмнө |
Sven/Sarah Barth
|
0bbfad1add
* apply patch by Blaise.ru:
|
3 жил өмнө |
Sven/Sarah Barth
|
542c3f0c4c
* use tproc_parse_flags in parse_proc_dec_finish as well
|
4 жил өмнө |
Sven/Sarah Barth
|
9664ad4138
* use tparse_proc_flags for parse_proc_head as well
|
4 жил өмнө |
Sven/Sarah Barth
|
ee187f78f4
* have read_body return the created procdef
|
4 жил өмнө |
Sven/Sarah Barth
|
f6a444c6fc
* combine the Boolean parameters of read_proc and read_proc_dec into a set
|
4 жил өмнө |
Sven/Sarah Barth
|
934e3bba63
* set proctypeoption for procvars
|
4 жил өмнө |
Sven/Sarah Barth
|
4bc957a1aa
* extend procvar_dec so that procvars don't have to be registered
|
4 жил өмнө |
Sven/Sarah Barth
|
3aebcccdf2
* allow procvars to not be registered right away
|
4 жил өмнө |
Sven/Sarah Barth
|
a764c035b2
* if the symbol belongs to the current def also consider it a specialization if it's a nameless type symbol from an implicit function specialization as their owner gets changed to the function itself
|
3 жил өмнө |
Sven/Sarah Barth
|
6a6a17717a
+ add a new symoption for symbols created for nameless types during implicit function specialization so that they can be recognized
|
3 жил өмнө |
Sven/Sarah Barth
|
8bef91d1de
* declare the type symbol of an internal def as sp_internal
|
3 жил өмнө |
Sven/Sarah Barth
|
30a7199165
* make the VMT symbol and type def of the corresponding class or object instead of having them be global
|
3 жил өмнө |
Sven/Sarah Barth
|
ac4df2b066
* don't check for a duplicate internal symbol in inherited symtables
|
3 жил өмнө |