Jonas Maebe
|
59f293711a
function references: make names of interface methods valid Pascal identifiers
|
преди 3 години |
Sven/Sarah Barth
|
92082ab28f
* correctly handle directives for anonymous functions
|
преди 3 години |
Sven/Sarah Barth
|
fd26453d5a
* name of result variable of anonymous functions can be changed (and must be in modes without modeswitch Result)
|
преди 3 години |
Sven/Sarah Barth
|
4dbdb4f0f1
+ initial support for anonymous functions, for now as essentially nested functions
|
преди 4 години |
Sven/Sarah Barth
|
39f5534969
* adjust handle_calling_convention so that it can be used with both proc(var)defs and invokables
|
преди 3 години |
Sven/Sarah Barth
|
c92e290d67
* extend parse_proctype_directives to handle proc(var)defs as well as invokables
|
преди 3 години |
Sven/Sarah Barth
|
bb637fa389
* adjust parse_proctype_directives so that it can handle a function reference as well
|
преди 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
|
f6a444c6fc
* combine the Boolean parameters of read_proc and read_proc_dec into a set
|
преди 4 години |
Sven/Sarah Barth
|
3aebcccdf2
* allow procvars to not be registered right away
|
преди 4 години |
Pierre Muller
|
5acd7a7b83
Rename tsymtable.insert and delete methods to insertsym ands deletesym
|
преди 3 години |
florian
|
4718029fe0
* do not throw an error if syscall is used with a syntax not applicable for the current
|
преди 3 години |
florian
|
546455faca
* throw error properly if a target does not support sections
|
преди 3 години |
ccrause
|
665c1b3966
Move member variable "section" to tprocdef. Type of "section" to agree with symansistr define.
|
преди 3 години |
ccrause
|
738a0a35de
Add section directive for subroutines for embedded and freertos systems.
|
преди 3 години |
Sven/Sarah Barth
|
2a5023508a
+ add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128
|
преди 3 години |
Karoly Balogh
|
568d4de77e
* aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental)
|
преди 3 години |
svenbarth
|
f9957f30a5
* fix for Mantis #38771: the owner of the procdef might be Nil in case of a specialization (that virtual can't be used on generics is caught later on)
|
преди 4 години |
nickysn
|
9fa61a6c9f
- removed the discardresult proc directive
|
преди 4 години |
nickysn
|
7e958e0a35
+ introduced the discardresult directive and declared the UniqueString()
|
преди 4 години |
florian
|
7f775abb6d
* throw a proper error if a contructur has a type parameter in delphi mode, resolves #37217
|
преди 4 години |
svenbarth
|
6160abe37e
* have the generic dummy symbols for procsyms keep track of their overloaded generic procsyms so that they can be easily found (will be needed for implicit specializations)
|
преди 4 години |
svenbarth
|
c96029ebd5
* Delphi does not allow a generic method to be overloaded by a non generic type of the same name (unlike for generic types and non generic routines); this is probably done to simplify the implementation of implicit specializations of generic methods so we do this as well. For this we change the dummy symbol for generic routines from a typesym to a procsym
|
преди 4 години |
svenbarth
|
43ba5b69d2
* ensure that the dummy symbol is registered if it's added due to a routine
|
преди 4 години |
svenbarth
|
2a897f5b6b
* apply slightly adjusted patch by Blaise.ru which moves parsing of result types to a separate functions thus ensuring that File types can't be used for procedure variables (just like they already couldn't be used as a result type for normal functions)
|
преди 4 години |
florian
|
f0298f63d0
* allow absolute variables with an address to be used as syscall base
|
преди 4 години |