Sven/Sarah Barth
|
f8b1801a8f
+ implement necessary functionality in tcgprocinfo to initialize and populate the capturer
|
3 yıl önce |
Sven/Sarah Barth
|
9b9ae2db1a
* two function references are equal to each other as long as their signatures match
|
3 yıl önce |
Sven/Sarah Barth
|
6fe9a15094
+ add function to check whether a procdef can be converted to a function reference
|
3 yıl önce |
Sven/Sarah Barth
|
749faa42ee
* do not insert the $result symbol again when the VMT for the capturer is built
|
3 yıl önce |
Sven/Sarah Barth
|
9aac622dc9
+ add necessary core functions and functionality to implement capturing of variables
|
3 yıl önce |
Sven/Sarah Barth
|
0e0739a64f
* regenerate msg{idx,txt}.inc
|
3 yıl önce |
Sven/Sarah Barth
|
a0171e4335
+ add an error message for when a symbol can't be captured
|
3 yıl önce |
Sven/Sarah Barth
|
897f0e1784
* if a symbol is not part of a symtable then assume it's from the current module
|
3 yıl önce |
Sven/Sarah Barth
|
b5ab81c983
* an internal definition in a specialization might not have a genericdef
|
3 yıl önce |
Sven/Sarah Barth
|
90ebeb275a
+ add utility function to retrieve a file position of a usage of a type symbol from a type's definition
|
3 yıl önce |
Sven/Sarah Barth
|
3eac88eeaf
* protected symbols are visible for defs declared in a local symtable as well
|
3 yıl önce |
Sven/Sarah Barth
|
533a11ec80
* correctly handle calling convention for function references
|
3 yıl önce |
Sven/Sarah Barth
|
47d7520b32
* consider invokables as related when they're equal
|
3 yıl önce |
Sven/Sarah Barth
|
145b37425d
+ add function funcref_equal to check whether two function references are considered equal enough to be assignable
|
3 yıl önce |
Sven/Sarah Barth
|
ff0b560fe4
* set the flag that the symtable contains a generic at the end of the corresponding block of types_dec() to ensure that the owner is assigned correctly
|
3 yıl önce |
Sven/Sarah Barth
|
6299e94c8f
* set the type symbol of the procvar while it is parsed so that a function reference can have itself as part of the parameters or the return type
|
3 yıl önce |
Sven/Sarah Barth
|
06a00b53c3
* also handle function references when a generic one had been parsed
|
3 yıl önce |
Sven/Sarah Barth
|
b297199ab6
+ add a field to denote that a symbol (mainly local and parameter ones) was captured through another symbol
|
3 yıl önce |
Sven/Sarah Barth
|
ec96d4242a
* check hierarchy of the current generic or specialization def independant of whether it's a record- or objectdef
|
3 yıl önce |
Sven/Sarah Barth
|
f02fc4fe0f
* move checking for a def in the hierarchy to a separate nested function and use it to check the hierarchy of the current def being specialized as well
|
3 yıl önce |
Sven/Sarah Barth
|
5cf15be434
+ add a constructor for trecorddef to declare an internal record type as part of a specific other type
|
3 yıl önce |
Sven/Sarah Barth
|
92082ab28f
* correctly handle directives for anonymous functions
|
3 yıl önce |
Sven/Sarah Barth
|
e8b0fc88e3
* correctly handle directives for function references
|
3 yıl önce |
Sven/Sarah Barth
|
fd26453d5a
* name of result variable of anonymous functions can be changed (and must be in modes without modeswitch Result)
|
3 yıl önce |
Sven/Sarah Barth
|
7de854ef1e
+ add method register_implemented_interface to tobjectdef which registers an implemented interface and - if desired - also initializes the GUID related fields of the objectdef
|
3 yıl önce |
Sven/Sarah Barth
|
76d3a9c4b5
* generate a better name if the procdef is an anonymous one
|
3 yıl önce |
Sven/Sarah Barth
|
cdf676c9b5
* a function also captures other nested functions when these are called
|
3 yıl önce |
Sven/Sarah Barth
|
eaeb614887
+ provide a tsym based variant of ChangeOwnerAndName
|
3 yıl önce |
Sven/Sarah Barth
|
a7a0f47d98
* extract a symbol or def from its previous owner if that owner has OwnsObjects set to true
|
3 yıl önce |
Sven/Sarah Barth
|
088c746d45
* reset written source lines once a section is encountered
|
3 yıl önce |