marco
|
c4b9529d6b
# revisions: 42328,42329
|
há 5 anos atrás |
Jonas Maebe
|
3ac703506c
* rest of the previous accidental partial commit
|
há 6 anos atrás |
svenbarth
|
c3ca96279a
+ add support for threadvars inside classes
|
há 7 anos atrás |
svenbarth
|
5510b13975
* ensure that sto_has_generic is set when a generic routine has been parsed
|
há 7 anos atrás |
svenbarth
|
90bd408de4
* fix for Mantis #32355: adjust the meaning of the typehelpers modeswitch for Delphi modes in that it enables the "type helper" syntax as it is in the non-Delphi modes; extending primitive types with record helpers is now always enabled in Delphi modes
|
há 7 anos atrás |
svenbarth
|
a6821c63e0
* store the type of the helper that had been encountered during parsing in the objectdef and by extension the PPU
|
há 7 anos atrás |
svenbarth
|
236a9b0aa5
* rework the checks for a helper's extended def to be a class so that it can be more easily extended by other objecttypes
|
há 8 anos atrás |
svenbarth
|
324e63b5d3
* a bit of language consolidation: "type helper" can now be used for records and classes as well
|
há 8 anos atrás |
svenbarth
|
b6a3d66224
* adjust check for non-static class methods in class helpers in so far that only classes allow such methods (interfaces and objects would not either)
|
há 8 anos atrás |
svenbarth
|
eef06e9bc6
* move the check whether a subclassed type helper extends a suitable subtype of the parent's extended type to a nested procedure
|
há 8 anos atrás |
florian
|
b1dff29cbf
* removed unused units
|
há 8 anos atrás |
maciej-izak
|
48b149acd4
New tokens for new management operators: Initialize, Finalize, AddRef and Copy. Small code adjustment for parser (pdecobj.pas, pstatmnt.pas, psub.pas, ptype.pas) was required because few of old token has from now value which is outside range of set: _CONSTRUCTOR, _FINALIZATION.
|
há 8 anos atrás |
svenbarth
|
c2fec2e819
* if the objecttype of the forward declaration mismatches use the objecttype previously parsed; fixes access violation of webtbf/tw11970.pp
|
há 9 anos atrás |
svenbarth
|
0df57b3c87
* forward declarations of helper types are not allowed, so enforce them by trying to parse a "for"; fixes access violation of thlp9.pp
|
há 9 anos atrás |
svenbarth
|
d3660fec31
Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz".
|
há 9 anos atrás |
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.
|
há 9 anos atrás |
svenbarth
|
d15cdefc37
pdecsub.pas:
|
há 10 anos atrás |
svenbarth
|
17a0ac7fc0
pdecsub.pas:
|
há 10 anos atrás |
yury
|
432248cbf1
* Removed lot of unused vars.
|
há 10 anos atrás |
svenbarth
|
84b9d9839c
+ extend tobjectdef with the possiblity to create it as unregistered
|
há 10 anos atrás |
florian
|
f1decfb6b6
* do not generate a vmt record for generics, they are only needed for specializations
|
há 10 anos atrás |
Jonas Maebe
|
2dcd42d4f1
* fixed detection of an objcprotocols descending from a forward-defined
|
há 10 anos atrás |
svenbarth
|
7b216d7fa6
Fix for Mantis #27120.
|
há 10 anos atrás |
svenbarth
|
49a9f4c1ea
Fix for Mantis #26123.
|
há 11 anos atrás |
svenbarth
|
639a59df92
Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them.
|
há 11 anos atrás |
Jonas Maebe
|
02d36c56f7
* fixed compilation (changes after testing :/ )
|
há 11 anos atrás |
Jonas Maebe
|
5e1a895e95
* removed JVM-specific creation of methodpointertype and
|
há 11 anos atrás |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
há 11 anos atrás |
svenbarth
|
ddb78fefdc
Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3)
|
há 11 anos atrás |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
há 11 anos atrás |