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 лет назад |
svenbarth
|
3d2ee097b5
* fix for Mantis #38083: ensure that the sp_generic_dummy flag is set correctly on the new procsym when replacing a dummy sym
|
4 лет назад |
Jonas Maebe
|
1c61c30cd2
* added "const" to some string parameters
|
4 лет назад |
florian
|
637976e83f
* patch by Marģers to unify internal error numbers, resolves #37888
|
4 лет назад |
yury
|
721e89fafd
* msdos: Force names of external routines to be all uppercase only in TP mode.
|
5 лет назад |
yury
|
9d3b105fab
* msdos: By default external routine names with the pascal calling convention must be all upper case. This is TP and TASM compatible.
|
5 лет назад |
svenbarth
|
56fdba2c9b
* partial fix for Mantis #37253: po_hascallingconvention needs to be set as well when setting tprocdef.proccalloption
|
5 лет назад |
svenbarth
|
60345366f2
* fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics
|
5 лет назад |
svenbarth
|
752ff32333
* fix WinAPI directive: the purpose is to present the OS' default calling convention which for Windows means stdcall (at least on those platforms that support stdcall) on other platforms it is cdecl (for now)
|
5 лет назад |
svenbarth
|
2ad3c6dd97
* fix global generic functions with constraints in mode Delphi by handling implementations with defines outside of parse_generic_parameters
|
5 лет назад |
florian
|
b7afb2431c
* do not allow constraints in headers of procedure implementations in delphi mode, resolves #36584
|
5 лет назад |
svenbarth
|
8111e92e1f
* rework syntax for cblocks: now a cblock directive is required
|
5 лет назад |
Jonas Maebe
|
a051b8d225
- remmoved doregister parameter from t*sym constructors, as the registration
|
5 лет назад |
svenbarth
|
a72553eea2
* disable [...] syntax for procedure directives if modeswitch "prefixed attributes" is enabled; they conflict otherwise and it's not easily resolveable
|
6 лет назад |
svenbarth
|
2e4d8e36a5
* fix for Mantis #35670: when a unused dummy symbol is found for a non-generic procedure/function, hide that dummy symbol and create a new symbol for the procedure/function
|
6 лет назад |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
6 лет назад |
Jeppe Johansen
|
12879adc2f
- Adds intrinsics to save/restore SREG when disabling interrupts.
|
6 лет назад |
Jonas Maebe
|
0b61b5d4cf
* added extra header to ppu inside a subsection, so we won't run into
|
6 лет назад |
Károly Balogh
|
5358851f84
* clean up some things regarding explicit paraloc handling. this should fix m68k-amiga and powerpc-morphos builds after r41716
|
6 лет назад |
Jonas Maebe
|
ed2ae508d0
* only add hidden parameters for objectdef methods after generating the vmt,
|
6 лет назад |
Jonas Maebe
|
8b9e90dc7a
* keep track of whether a routine has a C-style variadic parameter in the
|
6 лет назад |
Jonas Maebe
|
503ea604f3
+ nolinline modifier to specify that a routine must never be inlined
|
6 лет назад |
Jonas Maebe
|
91d5457b38
* moved around/replaced the following procedures to stop nflw from depending
|
6 лет назад |
Jonas Maebe
|
28df55fe08
* moved handle_calling_convention() to pparautl
|
6 лет назад |
yury
|
4357caaad8
* Removed unused local vars.
|
6 лет назад |