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 سال پیش |