Jonas Maebe
|
d7c1967351
* fixed switched around lists for read-only/read-write typed consts
|
преди 14 години |
svenbarth
|
de1e6b1c3d
Implement support for nested non-generic types inside generic types. This is mostly for records, classes and objects ("structures") as those didn't work at all, but the others (arrays, procvars) weren't done cleanly either.
|
преди 14 години |
svenbarth
|
8f0583ffb2
Switching from overloaded type symbol to unique symbol per generic.
|
преди 14 години |
svenbarth
|
b1959e5e89
Moved "parse_generic_parameters" and "insert_generic_parameter_types" from "pdecl.pas" to "pgenutil.pas"
|
преди 14 години |
svenbarth
|
80100734c5
*type symbol overloads are only allowed in mode Delphi
|
преди 14 години |
svenbarth
|
d0705a1779
Rebase to revision 17236
|
преди 14 години |
Jonas Maebe
|
ac283bb237
* when checking whether the current class definition finalises an existing
|
преди 14 години |
svenbarth
|
5218666328
* ncgrtti.pas: RTTI generation for helpers is handled like that for classes
|
преди 14 години |
svenbarth
|
963a4d7b23
Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef).
|
преди 14 години |
svenbarth
|
07eebff55c
Rebase to revision 16827
|
преди 14 години |
paul
|
86482658a8
compiler: fix tgeneric11 test:
|
преди 14 години |
svenbarth
|
a9b64c80ad
Rebase to revision 16728
|
преди 14 години |
svenbarth
|
aed9f0a5f7
Added first version of class helper support (not fully working and not fully featured)
|
преди 14 години |
paul
|
e0e01899e5
compiler: move parse_generic_parameters to the interface of pdecl unit, move insert_generic_parameter_types to pdecl unit to access them from pdecsub (preparations for generic methods implementation)
|
преди 14 години |
paul
|
2599cc63bd
compiler: implement generic procedural types
|
преди 14 години |
paul
|
4cfcc7ae7b
compiler: implement delphi generic syntax for delphi mode
|
преди 14 години |
Jonas Maebe
|
360d102ea4
* fixed some comments after r16684
|
преди 14 години |
Jonas Maebe
|
3ca3276400
* changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
|
преди 14 години |
paul
|
55a0fefb1f
compiler: implement generic array type:
|
преди 14 години |
Jonas Maebe
|
2222f2c44b
* renamed is_class_or_interface_or_dispinterface_or_objc() into
|
преди 14 години |
paul
|
92d6503704
compiler: rename _EQUAL token to _EQ to prevent problems with adding delphi operator names which contains "EQUAL" name, also rename _UNEQUAL to _NE for consistency
|
преди 14 години |
paul
|
f3af6a83f7
compiler: put static symbol for typed consts declared in classes/records/objects into unit symtable to fix problems with linking and add absolute symbol into record symtable pointed to that static symbol (fixes test test/terecs3.pp on unixes)
|
преди 14 години |
paul
|
54b5172286
compiler: fix compiler crash (bug #0018222)
|
преди 14 години |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
преди 14 години |
paul
|
8e36256bc9
compiler: add support for visibility blocks in records and type, const declarations:
|
преди 14 години |
paul
|
433f18e60c
compiler: resolve only current typeblock forward declarations when the type block is finished (fixes bug #0018086)
|
преди 14 години |
florian
|
d30952b408
* patch by Aleksa Todorovic which adds the ability to reference current generic class. Each reference to current generic class is "translated" to appropriate specialization of that generic class. There are two tests as part of the patch to test that it works. The patch, also, rejects declaring generic inside another generic. 0010479 is easy to implement with this patch applied, resolves #11777
|
преди 14 години |
florian
|
d25b6f44f0
* avoid hint about uninitialized variable for compiler generated label jump buffer in macpas mode, resolves #17842
|
преди 15 години |
florian
|
38b90c987b
+ enable non local goto in macpas mode, test/tmacnonlocalgoto.pp does not fail anymore
|
преди 15 години |
pierre
|
41e388ace8
* Revert rev 16108
|
преди 15 години |