florian
|
ff295bf349
* delay setting of pd_body and pd_implement till the header of a generic
|
5 anos atrás |
florian
|
e7f7927ca9
+ initialize variables, so compilation with -O3 works
|
5 anos atrás |
svenbarth
|
04554d7505
* use a more detailed error message if a type is not allowed for a generic constant parameter
|
5 anos atrás |
svenbarth
|
a467332187
* fix for Mantis #36975: arraydefs are not allowed for generic types (this is only used for type declarations; for specializing constant strings which are char arrays are still allowed)
|
5 anos atrás |
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 anos atrás |
svenbarth
|
41a6957f7d
* keep track of the fileposinfo for generic constraints
|
5 anos atrás |
florian
|
b7afb2431c
* do not allow constraints in headers of procedure implementations in delphi mode, resolves #36584
|
5 anos atrás |
svenbarth
|
c6a4d10f61
* for deciding whether to swap a generic's buffer use the module's flag instead of the def's
|
5 anos atrás |
pierre
|
d1e4066477
Hopefully fix problems related to loading of ppufile generated with other endianess for generics
|
5 anos atrás |
yury
|
1b3a3a7983
* Removed lot of unused local vars. It is useful to turn on the notes in options. :)
|
5 anos atrás |
svenbarth
|
3e7dc25667
* fix for Mantis #36496: correctly handle the function result alias variable inside generic functions
|
5 anos atrás |
svenbarth
|
bf5d75e594
* move the common sequence to build a VMT for an objectdef into a separate procedure (based on a patch by Blaise.ru)
|
5 anos atrás |
svenbarth
|
97eefb6ac3
- the error recovery handling is no longer required
|
5 anos atrás |
svenbarth
|
5b71ba2a9b
* treat a missing genericdef with no symname set as an internal error
|
5 anos atrás |
svenbarth
|
ef6c9e930b
* correctly handle the genericdef being a procdef, otherwise no code will be generated (and no error either :/ )
|
5 anos atrás |
svenbarth
|
1abc9c1fe7
* when specializing a routine all nested specializations must go to the para- or localsymtable as otherwise the symbol can't be found to be registered
|
5 anos atrás |
svenbarth
|
d79e2ee9da
* also store, reset and restore the current module's procinfo
|
5 anos atrás |
Jonas Maebe
|
a051b8d225
- remmoved doregister parameter from t*sym constructors, as the registration
|
5 anos atrás |
Jonas Maebe
|
d8903ce6b3
- removed maxcrecordalign parameter/field from recordsymtables, as this value
|
6 anos atrás |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
6 anos atrás |
Jonas Maebe
|
e008785152
* insert the hidden parameters for objectdef methods after resolving
|
6 anos atrás |
Jonas Maebe
|
ed2ae508d0
* only add hidden parameters for objectdef methods after generating the vmt,
|
6 anos atrás |
Jonas Maebe
|
91d5457b38
* moved around/replaced the following procedures to stop nflw from depending
|
6 anos atrás |
Jonas Maebe
|
28df55fe08
* moved handle_calling_convention() to pparautl
|
6 anos atrás |
svenbarth
|
598ac21791
* if the generic dummy symbol is a procsym (with procdefs added) then this is the symbol that should be resolved to
|
7 anos atrás |
svenbarth
|
06d7e26df0
* move code to add a symbol to the current module's generic dummy symbols into a new function pgenutil.add_generic_dummysym()
|
8 anos atrás |
florian
|
b1dff29cbf
* removed unused units
|
8 anos atrás |
svenbarth
|
8024fcd7ec
* if an operator overload in a structured type is invalid print an error only for the declaration and not the implementation as well
|
8 anos atrás |
maciej-izak
|
e4565378db
* Allow for "record constraint" in Delphi mode more types like: ordinal, float, classical objects, enumerations (instead of just record). Delphi compatibility. Fix for mantis #24073.
|
8 anos atrás |
svenbarth
|
d34acf3bc7
* fix for Mantis #31120: check current_genericdef only if the current_procinfo isn't used
|
8 anos atrás |