florian
|
eb7702bea4
+ implement align directive for records, resolves #28927
|
4 年之前 |
svenbarth
|
2a897f5b6b
* apply slightly adjusted patch by Blaise.ru which moves parsing of result types to a separate functions thus ensuring that File types can't be used for procedure variables (just like they already couldn't be used as a result type for normal functions)
|
4 年之前 |
svenbarth
|
a1b252538f
* change def parameter of single_type() from var to out (part of patch by Blaise.ru)
|
4 年之前 |
svenbarth
|
d29f95d9e1
* apply patch by Blaise.ru to allow specializations for the result type of function and method variables
|
4 年之前 |
svenbarth
|
60345366f2
* fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics
|
5 年之前 |
florian
|
d8f1aacd78
* better error recovery, resolves #36377
|
5 年之前 |
florian
|
fb4b1cbf35
* warn only in delphi mode if an explicit enumeration value exceeds the range, relaxes r43191
|
5 年之前 |
florian
|
626ef4ae0c
* give an error if an explicit enumeration valid exceeds the valid range, resolves #34633
|
5 年之前 |
Jonas Maebe
|
a051b8d225
- remmoved doregister parameter from t*sym constructors, as the registration
|
5 年之前 |
svenbarth
|
b0b2218cca
* fix for Mantis #35981: ensure that the "specialize" token is only really used in non-Delphi modes
|
6 年之前 |
Jonas Maebe
|
d8903ce6b3
- removed maxcrecordalign parameter/field from recordsymtables, as this value
|
6 年之前 |
svenbarth
|
ed5f19e7e3
* change boolean parameters for try_consume_unitsym to a set
|
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 年之前 |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
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 年之前 |
Jonas Maebe
|
0b246f3dbd
* converted Boolean8 to an internal type, and mapped Boolean to the
|
6 年之前 |
svenbarth
|
a2b58b842b
+ add support for threadvars in records
|
7 年之前 |
svenbarth
|
e7f29e9e28
* also pass the pattern with which the potential unit/namespace symbol had been found to try_consume_unitsym*()
|
7 年之前 |
florian
|
1bc322c218
* allow generic parameters as array range, resolves #33414
|
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 年之前 |
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
|
f8c23c84b6
* have pointerdefs and classrefdefs "inherit" the df_generic and df_specialization flags from the def they point to and set the genericdef accordingly
|
8 年之前 |
svenbarth
|
70817baf98
* since we already allow inline specializations in mode ObjFPC due to generic functions it's only consequential to also allow specializations after pointers (they are already allowed in mode Delphi).
|
8 年之前 |
svenbarth
|
386b7ac154
* fix for Mantis #28753: don't return generic dummys from single_type(); ensures that parameters correctly evaluate to error defs should generic dummies be used
|
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 年之前 |
florian
|
70b8789262
o basic extended pascal support:
|
9 年之前 |