svenbarth
|
fd98ec56e9
Fix (hopefully last) regression introduced due to the reworking specialization of routine bodies.
|
9 gadi atpakaļ |
florian
|
04a68d9b94
* fix compilation with -Oodfa
|
9 gadi atpakaļ |
svenbarth
|
1bd43d9e37
Fix regressions.
|
9 gadi atpakaļ |
svenbarth
|
1d7c19aaf0
Fix regressions.
|
9 gadi atpakaļ |
svenbarth
|
f27ce0b159
Rework the way the method bodies for specializations are generated: instead of walking the global and local symboltable all pending specializations are kept in a list of the current module which is (for now) walked at the end of a unit/program to generate the method bodies as before.
|
9 gadi atpakaļ |
svenbarth
|
2f6a1c01ba
pgenutil.pas, generate_specialization_phase2:
|
9 gadi atpakaļ |
svenbarth
|
f8def6dbc9
Store and use procedure directives of generic routines.
|
9 gadi atpakaļ |
svenbarth
|
d07b49270f
Fix for Mantis #30030.
|
9 gadi atpakaļ |
svenbarth
|
e9fab1bfee
Fix for Mantis #29080.
|
9 gadi atpakaļ |
svenbarth
|
0ff87336aa
Convert the Boolean parameters accept_equal, typeonly and hadspecialize of comp_expr(), sub_expr() and factor() to a set parameter and adjust all calls.
|
9 gadi atpakaļ |
Jonas Maebe
|
2cea723a0d
* only write the parts of the unit localsymtables that are actually needed:
|
9 gadi atpakaļ |
svenbarth
|
96a9273fba
pdecsub.pas:
|
10 gadi atpakaļ |
svenbarth
|
35d8a51730
pexpr.pas:
|
10 gadi atpakaļ |
svenbarth
|
2e24d6dffb
htypechk.pas:
|
10 gadi atpakaļ |
svenbarth
|
e8c68a09c1
pgenutil.pas, parse_generic_parameters:
|
10 gadi atpakaļ |
svenbarth
|
040786e5bb
+ extend tundefineddef with the possiblity to create it as unregistered
|
10 gadi atpakaļ |
svenbarth
|
4b98b36212
pgenutil.pas:
|
10 gadi atpakaļ |
yury
|
d27964bd1a
* Removed unused chunk of code. Looks like a not needed leftover.
|
10 gadi atpakaļ |
yury
|
432248cbf1
* Removed lot of unused vars.
|
10 gadi atpakaļ |
svenbarth
|
00f776ef76
pgenutil.pas, parse_generic_specialization_types_internal:
|
10 gadi atpakaļ |
svenbarth
|
84b9d9839c
+ extend tobjectdef with the possiblity to create it as unregistered
|
10 gadi atpakaļ |
svenbarth
|
d45c275ef3
+ extend ttypesym with the possiblity to create it as unregistered
|
10 gadi atpakaļ |
florian
|
83a7fa2320
o fix compilation of the compiler
|
10 gadi atpakaļ |
svenbarth
|
eaab604f0c
pgenutil.pas:
|
10 gadi atpakaļ |
svenbarth
|
e8fca1c9c0
* move tspecializationstate from pgenutil.pas into a new unit named pgentype.pas which contains types related to generics with as few dependencies as possible.
|
10 gadi atpakaļ |
svenbarth
|
19c6d72c7b
Fix for Mantis #27750.
|
10 gadi atpakaļ |
Jonas Maebe
|
25e6eaf07f
* store the to be used recordalignmin and maxcrecordalign settings inside
|
10 gadi atpakaļ |
svenbarth
|
d849734acd
Specialize the correct generic if it has the same name as another generic that is located at another place of the type hierarchy.
|
10 gadi atpakaļ |
svenbarth
|
04534d5dcf
Fix for Mantis #27424.
|
10 gadi atpakaļ |
svenbarth
|
0d1d3d8e72
Fix for Mantis #25917. With this change the visibility of type parameters is changed from public to strict private as otherwise unexpected (and "unworkaroundable") errors might occur (like the one in the mentioned bug report).
|
10 gadi atpakaļ |