joost
|
c6707fecef
* Added TUnitInfo.UnitOptions, to determine if there is attribute-
|
hace 12 años |
joost
|
2ccaf7f8d5
* Search in inherited classes for custom-attribute-constructors
|
hace 13 años |
joost
|
5585d1bc15
* Attribute definition should be before generic keyword
|
hace 13 años |
joost
|
173622da46
* Return an error if there is a unbound class-attribute at the end of a type-block
|
hace 13 años |
joost
|
aa9940683b
* reverted r22849, the mem-leak only occured in case of an error that is not catched
|
hace 13 años |
joost
|
1519a4597e
* Fixed mem-leak in parsing of class-acctributes
|
hace 13 años |
joost
|
ac4fbdffa3
* Moved TCustomAttribute definition to system-unit
|
hace 13 años |
joost
|
19fdc2470c
* Do not crash the compiler in case of an invalid ClassAttribute type
|
hace 13 años |
joost
|
6a45402a74
* Implemented class-attributes support.
|
hace 13 años |
svenbarth
|
aa0f1bdf26
pdecl.pas, readconstant: If we are parsing a constant declaration in a generic and we encounter an intrinsic then this intrinsic is left as is (thus the node p returned by comp_expr will be a inlinen instead of an expected ordconstn, stringconstn, etc.). Nevertheless we need to create a symbol for the constant (which isn't done otherwise). In the case of SizeOf a constant "0" will be created. This fixes Mantis #21593.
|
hace 13 años |
paul
|
4312aa4e08
compiler: allow compiler to find real class definition during class members parse to handle references to self constants + test
|
hace 13 años |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
hace 13 años |
florian
|
ce845bf97c
* introduction of in_generic in r20699 was unneeded, replaced by parse_generic
|
hace 13 años |
florian
|
79a77ae7d6
+ in_generic for testing if currently a generic declaration/definition is parsed/record
|
hace 13 años |
paul
|
d59c0237b2
compiler: global property can't be a class property
|
hace 13 años |
svenbarth
|
9cb16c950f
This fixes Mantis #20851 .
|
hace 13 años |
svenbarth
|
a1ef0add65
When searching for the generic def of nested types inside specializations we first need to check local declarations inside the method if we are in one. Only then we may search inside the type's declaration. Fixes #20836 .
|
hace 14 años |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
hace 14 años |
svenbarth
|
87d9714221
Somehow the changes regarding tf_methods_specialized weren't commited, thus here they are again:
|
hace 14 años |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
hace 14 años |
svenbarth
|
594f84dc2c
Merge branch 'unique-syms'
|
hace 14 años |
paul
|
c1866d5c17
compiler:
|
hace 14 años |
svenbarth
|
90278ec755
Allow generics to be overloaded by variables.
|
hace 14 años |
svenbarth
|
a93aeebb1f
types_dec:
|
hace 14 años |
svenbarth
|
6b03193783
Switching from overloaded type symbol to unique symbol per generic.
|
hace 14 años |
paul
|
8b0cb2c1d5
compiler:
|
hace 14 años |
Jonas Maebe
|
d48fa1d7e2
* for all managed VM targets, reject ord->ptr typecasts (except for 0),
|
hace 14 años |
Jonas Maebe
|
b3072b3dab
* extracted the code to deal with static fields into a routine
|
hace 14 años |
Jonas Maebe
|
37aa2d8443
+ full support for sets on the JVM target
|
hace 14 años |
Jonas Maebe
|
569228447d
* converted all enum handling for the JVM target so that it uses the
|
hace 14 años |