Jonas Maebe
|
338c064beb
* moved x86-specific tpointerdef functionality to architecture-specific
|
před 11 roky |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
před 11 roky |
paul
|
79ef05407a
compiler: fix error message (was error message about resourcestring for property)
|
před 11 roky |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
před 12 roky |
Jonas Maebe
|
3ed60082d3
* don't generate typed constant initialisers for set and enum constants
|
před 12 roky |
Jonas Maebe
|
8dd956cbde
* convert unicode/widestring constants to ansistring in resourcestring
|
před 12 roky |
Jonas Maebe
|
fb8fb29574
* record/use the code page of string constants typecasted to an ansistring
|
před 12 roky |
nickysn
|
5966cc088d
* got rid of tpointerdef.update_savesize, overrode size instead
|
před 12 roky |
svenbarth
|
2c792659ce
Fix for Mantis #24071.
|
před 12 roky |
nickysn
|
abeb2a3aaa
* fixed the far pointer size not being updated after reading the near/far type modifier, which caused far pointers to be allocated only 2 bytes
|
před 12 roky |
nickysn
|
b0f7786782
+ added support for special versions of near data pointers associated with a x86 segment register. They are supported on all x86 platforms: i8086, i386 and x86_64
|
před 12 roky |
svenbarth
|
344571cb4e
Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants.
|
před 12 roky |
florian
|
81e0e3114c
* throw an error if threadvars are used but not supported
|
před 12 roky |
svenbarth
|
4adb36e8da
Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future...
|
před 12 roky |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
před 13 roky |
svenbarth
|
29c71d39ac
Preparations for upcoming work on generics:
|
před 13 roky |
Jonas Maebe
|
01b5e2b6f6
* use the parsed node type for checking the validity of default parameter
|
před 13 roky |
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.
|
před 13 roky |
paul
|
4312aa4e08
compiler: allow compiler to find real class definition during class members parse to handle references to self constants + test
|
před 13 roky |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
před 13 roky |
florian
|
ce845bf97c
* introduction of in_generic in r20699 was unneeded, replaced by parse_generic
|
před 13 roky |
florian
|
79a77ae7d6
+ in_generic for testing if currently a generic declaration/definition is parsed/record
|
před 13 roky |
paul
|
d59c0237b2
compiler: global property can't be a class property
|
před 13 roky |
svenbarth
|
9cb16c950f
This fixes Mantis #20851 .
|
před 13 roky |
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 .
|
před 14 roky |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
před 14 roky |
svenbarth
|
87d9714221
Somehow the changes regarding tf_methods_specialized weren't commited, thus here they are again:
|
před 14 roky |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
před 14 roky |
svenbarth
|
594f84dc2c
Merge branch 'unique-syms'
|
před 14 roky |
paul
|
c1866d5c17
compiler:
|
před 14 roky |