Jonas Maebe
|
59f293711a
function references: make names of interface methods valid Pascal identifiers
|
před 3 roky |
Sven/Sarah Barth
|
92082ab28f
* correctly handle directives for anonymous functions
|
před 3 roky |
Sven/Sarah Barth
|
fd26453d5a
* name of result variable of anonymous functions can be changed (and must be in modes without modeswitch Result)
|
před 3 roky |
Sven/Sarah Barth
|
4dbdb4f0f1
+ initial support for anonymous functions, for now as essentially nested functions
|
před 4 roky |
Sven/Sarah Barth
|
39f5534969
* adjust handle_calling_convention so that it can be used with both proc(var)defs and invokables
|
před 3 roky |
Sven/Sarah Barth
|
c92e290d67
* extend parse_proctype_directives to handle proc(var)defs as well as invokables
|
před 3 roky |
Sven/Sarah Barth
|
bb637fa389
* adjust parse_proctype_directives so that it can handle a function reference as well
|
před 3 roky |
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
|
před 3 roky |
Sven/Sarah Barth
|
9c9c6cc81b
* apply patch by Blaise.ru:
|
před 3 roky |
Sven/Sarah Barth
|
0bbfad1add
* apply patch by Blaise.ru:
|
před 3 roky |
Sven/Sarah Barth
|
542c3f0c4c
* use tproc_parse_flags in parse_proc_dec_finish as well
|
před 4 roky |
Sven/Sarah Barth
|
9664ad4138
* use tparse_proc_flags for parse_proc_head as well
|
před 4 roky |
Sven/Sarah Barth
|
f6a444c6fc
* combine the Boolean parameters of read_proc and read_proc_dec into a set
|
před 4 roky |
Sven/Sarah Barth
|
3aebcccdf2
* allow procvars to not be registered right away
|
před 4 roky |
Pierre Muller
|
5acd7a7b83
Rename tsymtable.insert and delete methods to insertsym ands deletesym
|
před 3 roky |
florian
|
4718029fe0
* do not throw an error if syscall is used with a syntax not applicable for the current
|
před 3 roky |
florian
|
546455faca
* throw error properly if a target does not support sections
|
před 3 roky |
ccrause
|
665c1b3966
Move member variable "section" to tprocdef. Type of "section" to agree with symansistr define.
|
před 3 roky |
ccrause
|
738a0a35de
Add section directive for subroutines for embedded and freertos systems.
|
před 3 roky |
Sven/Sarah Barth
|
2a5023508a
+ add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128
|
před 3 roky |
Karoly Balogh
|
568d4de77e
* aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental)
|
před 3 roky |
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)
|
před 4 roky |
nickysn
|
9fa61a6c9f
- removed the discardresult proc directive
|
před 4 roky |
nickysn
|
7e958e0a35
+ introduced the discardresult directive and declared the UniqueString()
|
před 4 roky |
florian
|
7f775abb6d
* throw a proper error if a contructur has a type parameter in delphi mode, resolves #37217
|
před 4 roky |
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)
|
před 4 roky |
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
|
před 4 roky |
svenbarth
|
43ba5b69d2
* ensure that the dummy symbol is registered if it's added due to a routine
|
před 4 roky |
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)
|
před 4 roky |
florian
|
f0298f63d0
* allow absolute variables with an address to be used as syscall base
|
před 4 roky |