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
|
пре 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
|
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 година |
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 година |
Jonas Maebe
|
b22e2ef400
* add "doregister" parameter to tsetdef.create, and don't register temporary
|
пре 9 година |
Jonas Maebe
|
2778bf55c7
* add "doregister" parameter to torddef.create, and don't register temporary
|
пре 9 година |
svenbarth
|
d4635f10df
Remaining fix for Mantis #28674.
|
пре 10 година |
svenbarth
|
c25e7491e7
Fix for Mantis #28674.
|
пре 10 година |
svenbarth
|
d45c275ef3
+ extend ttypesym with the possiblity to create it as unregistered
|
пре 10 година |
svenbarth
|
66781b5526
Fix for Mantis #28530.
|
пре 10 година |
Jonas Maebe
|
f402b0d7df
* changed getpointerdef() into a tpointerdef.getreusable() class method
|
пре 10 година |
Jonas Maebe
|
25e6eaf07f
* store the to be used recordalignmin and maxcrecordalign settings inside
|
пре 10 година |
svenbarth
|
5a344ee263
Rework the way how "specialize" is handled. Instead of initializing the specialization of a full type declaration (including unit name and parent types) it is now considered part of the specialized type itself. This means that for example the following code:
|
пре 10 година |
Jonas Maebe
|
146e3bcb9e
* synchronised with trunk till r29513
|
пре 10 година |
Jonas Maebe
|
e97f31541e
- reverted partial commit of merge
|
пре 10 година |
Jonas Maebe
|
a76bbf363d
* synchronised with trunk r29513
|
пре 10 година |
svenbarth
|
a4e8f00399
Allow the usage of type aliases of generic type parameters outside of the generic. Besides being useful by itself it will also be needed in the future when the visibility of the type parameters is changed from public to strict private.
|
пре 10 година |
nickysn
|
c3a58bf5a8
* fixed indentation in ptype.expr_type. Prevously it looked like the 'if' is
|
пре 11 година |
Jonas Maebe
|
c730e16031
* changed the syntax for block procvars from "xxx is block" to
|
пре 11 година |