paul
|
1c578de28c
compiler:
|
12 gadi atpakaļ |
Jonas Maebe
|
9619ed8b4b
- undo hack from r25713
|
12 gadi atpakaļ |
paul
|
82243b5c9d
compiler: temporary disable hint directive parse if objectivec1 modeswitch set
|
12 gadi atpakaļ |
paul
|
8f6f0d63a0
compiler: check modeswitches first
|
12 gadi atpakaļ |
paul
|
912384594b
fpc: allow hint directives between other procedure directives in Delphi mode (issue #25101)
|
12 gadi atpakaļ |
paul
|
99dadf2998
compiler: allow comparative operators to have result other than Boolean. Reasons:
|
12 gadi atpakaļ |
paul
|
1b81afcd42
compiler: allow to hide parent function identifier inside them (by a nested function with the same name or by a local variable). Fixes mantis #0024129.
|
12 gadi atpakaļ |
sergei
|
d11ec8ac47
- Reverted r25269 and commented out r25261. The former one is wrong because it changes unit initialization order. The latter one causes RTL build failures on some targets, needs testing and likely RTL/makefiles patching.
|
12 gadi atpakaļ |
sergei
|
c558991d8f
* Implicitly use Variants unit when (ole)Variant type appears as a function/operator result and nowhere else. Mantis #24863.
|
12 gadi atpakaļ |
pierre
|
91bc424694
Fix bug report 24612:
|
12 gadi atpakaļ |
florian
|
37df6f6455
* nostackframe now results in an error if used on pascal subroutines
|
12 gadi atpakaļ |
svenbarth
|
8353d53b69
Fix for Mantis #22433.
|
12 gadi atpakaļ |
svenbarth
|
376bd046aa
Don't allow "static" for class operators or normal methods (except in objects).
|
12 gadi atpakaļ |
svenbarth
|
168c9d152f
Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators.
|
12 gadi atpakaļ |
svenbarth
|
cca897cfd3
Fix a memory leak spotted by Blaise Thorn
|
12 gadi atpakaļ |
svenbarth
|
4adb36e8da
Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future...
|
12 gadi atpakaļ |
florian
|
04543b179f
o merge of the branch laksen/arm-embedded of Jeppe Johansen:
|
13 gadi atpakaļ |
pierre
|
be5839e44a
Add warning/error message about possible problems with nostackframe modifier
|
13 gadi atpakaļ |
Jeppe Johansen
|
8b17a358e4
Remove all traces of the interrupt vector table generation mechanism
|
13 gadi atpakaļ |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
13 gadi atpakaļ |
Jonas Maebe
|
fe90823b01
* support the "overload" modifier for Objective-C methods
|
13 gadi atpakaļ |
florian
|
3a6446e6d1
* address parameters must be vr_addr regable
|
13 gadi atpakaļ |
Jonas Maebe
|
01b5e2b6f6
* use the parsed node type for checking the validity of default parameter
|
13 gadi atpakaļ |
Jonas Maebe
|
aad3ce960a
* give an error when trying to give a parameter of a non-simple type a
|
13 gadi atpakaļ |
florian
|
eb1efdff8a
+ introduce cstylearrayofconst because pocall_mwcall was forgotten at several places
|
13 gadi atpakaļ |
Jonas Maebe
|
adf66eed8b
* don't turn constref shortstring parameters into openstrings (they can't
|
13 gadi atpakaļ |
svenbarth
|
75bf094e3f
Fix for Mantis #21064.
|
13 gadi atpakaļ |
svenbarth
|
7dfaec7a05
Fix for Mantis #21457
|
13 gadi atpakaļ |
Jonas Maebe
|
50659b7e7f
* give an error if a routine definition defines default values for
|
13 gadi atpakaļ |
florian
|
6c8eed21c4
+ implement auto inlining (-Ooautoinline)
|
13 gadi atpakaļ |