paul
|
d21bbc4548
compiler: reduce amount of hints and warnings
|
14 vuotta sitten |
paul
|
f904f41664
compiler: don't allow local or anonymous records to have types (the second part of issue #0019099)
|
14 vuotta sitten |
svenbarth
|
16e500ee3c
Removed old search algorithm
|
14 vuotta sitten |
svenbarth
|
d0705a1779
Rebase to revision 17236
|
14 vuotta sitten |
svenbarth
|
a944be69a6
* nflw.pas: search for enumerators in helpers for records as well
|
14 vuotta sitten |
florian
|
07c9a772bf
* fix compilation when object type cast checking is on
|
14 vuotta sitten |
svenbarth
|
f7f357f18e
* symconst.pas:
|
14 vuotta sitten |
Jonas Maebe
|
8e788c6fa5
* further fixes for parsing declarations involving nested types that are
|
14 vuotta sitten |
Jonas Maebe
|
af38604706
* fixed spelling of "isforward" parameter in previous patch
|
14 vuotta sitten |
Jonas Maebe
|
707f19e4c9
* factored out parsing of fully qualified nested types inside their
|
14 vuotta sitten |
svenbarth
|
80e6498921
Rebase to revision 17096
|
14 vuotta sitten |
florian
|
26fbfaf5a7
+ introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer)
|
14 vuotta sitten |
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 vuotta sitten |
svenbarth
|
d12b198c7f
Rebase to revision 16888
|
14 vuotta sitten |
svenbarth
|
7cc7826343
- msg*: found a message to reuse
|
14 vuotta sitten |
florian
|
ec2d294287
* compiler works again compiled with $R+
|
14 vuotta sitten |
svenbarth
|
07eebff55c
Rebase to revision 16827
|
14 vuotta sitten |
paul
|
0be10ee19f
compiler: fix comments
|
14 vuotta sitten |
svenbarth
|
d4be11cb42
Implement advanced class helper syntax which allows "inheritance" of class helpers. This is not the same as normal class inheritance as its only used to extend the scope to other class helpers (that pseudo heritage line) when searching for a symbol. The real parent is always the extended class.
|
14 vuotta sitten |
paul
|
86482658a8
compiler: fix tgeneric11 test:
|
14 vuotta sitten |
paul
|
def46487eb
compiler: simplify _CLASS token handling in record declarations too
|
14 vuotta sitten |
svenbarth
|
a9b64c80ad
Rebase to revision 16728
|
14 vuotta sitten |
svenbarth
|
aed9f0a5f7
Added first version of class helper support (not fully working and not fully featured)
|
14 vuotta sitten |
paul
|
2599cc63bd
compiler: implement generic procedural types
|
14 vuotta sitten |
paul
|
0d6b62d293
compiler: allow generic inline specialization for delphi mode (like TFoo<Integer>.Create)
|
14 vuotta sitten |
paul
|
fa41b6ffe3
compiler: allow generic classes to derive from generic classes and generic interfaces
|
14 vuotta sitten |
paul
|
4cfcc7ae7b
compiler: implement delphi generic syntax for delphi mode
|
14 vuotta sitten |
paul
|
7c33505916
compiler: don't create enum defs for specializations declarations. Enums are stored in the unit symtables and generic declarations already add them there. Therefore specializations should search for enum defs declared by generics and use them instead of own.
|
14 vuotta sitten |
paul
|
55a0fefb1f
compiler: implement generic array type:
|
14 vuotta sitten |
paul
|
e8502b8ec2
compiler: make current_genericdef, current_specializedef tstoreddef instead of tabstractrecorddef to implement generic arrays
|
14 vuotta sitten |