florian
|
637976e83f
* patch by Marģers to unify internal error numbers, resolves #37888
|
4 年之前 |
svenbarth
|
04a50733ad
* get rid of the scanner message for attributes for real this time (sometimes I *really* hate Git -.-)
|
6 年之前 |
svenbarth
|
6d0c470a40
* check for unbound attributes inside classes (currently they are only allowed for published properties)
|
6 年之前 |
svenbarth
|
402728239f
* trtti_attribute_list.bind already checks whether the dangling attribute list is assigned or not
|
6 年之前 |
svenbarth
|
ced3885dbb
* generate construction function for the attributes used in a unit using a more straight forward approach
|
6 年之前 |
svenbarth
|
d9d2515ada
* move binding of a dangling attribute list to a sym's/def's attribute list to a class procedure of trtti_attribute_list
|
6 年之前 |
svenbarth
|
b5e6c0b98d
* ensure that any potentially created constructor call is freed if the attribute is not bound to a def or sym
|
6 年之前 |
svenbarth
|
ba413bcdfc
* fix typo
|
6 年之前 |
svenbarth
|
39bab2dbcc
* rename trtti_attributesdef to trtti_attributes_list
|
6 年之前 |
svenbarth
|
b2932393df
Reintegration of Custom Attributes branch by Joost van der Sluis with patches reworked by Svetozar Belic [patch 1/3]
|
6 年之前 |
svenbarth
|
d0eddbcbb9
* fix for Mantis #35735: also handle "generic" keyword inside helper types
|
6 年之前 |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
6 年之前 |
Jonas Maebe
|
0b61b5d4cf
* added extra header to ppu inside a subsection, so we won't run into
|
6 年之前 |
Jonas Maebe
|
ed2ae508d0
* only add hidden parameters for objectdef methods after generating the vmt,
|
6 年之前 |
Jonas Maebe
|
91d5457b38
* moved around/replaced the following procedures to stop nflw from depending
|
6 年之前 |
Jonas Maebe
|
28df55fe08
* moved handle_calling_convention() to pparautl
|
6 年之前 |
svenbarth
|
c3ca96279a
+ add support for threadvars inside classes
|
7 年之前 |
svenbarth
|
5510b13975
* ensure that sto_has_generic is set when a generic routine has been parsed
|
7 年之前 |
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
|
7 年之前 |
svenbarth
|
a6821c63e0
* store the type of the helper that had been encountered during parsing in the objectdef and by extension the PPU
|
7 年之前 |
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
|
8 年之前 |
svenbarth
|
324e63b5d3
* a bit of language consolidation: "type helper" can now be used for records and classes as well
|
8 年之前 |
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)
|
8 年之前 |
svenbarth
|
eef06e9bc6
* move the check whether a subclassed type helper extends a suitable subtype of the parent's extended type to a nested procedure
|
8 年之前 |
florian
|
b1dff29cbf
* removed unused units
|
8 年之前 |
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.
|
8 年之前 |
svenbarth
|
c2fec2e819
* if the objecttype of the forward declaration mismatches use the objecttype previously parsed; fixes access violation of webtbf/tw11970.pp
|
9 年之前 |
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
|
9 年之前 |
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".
|
9 年之前 |
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.
|
9 年之前 |