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