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
|
преди 10 години |
Jonas Maebe
|
2778bf55c7
* add "doregister" parameter to torddef.create, and don't register temporary
|
преди 10 години |
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 години |
Jonas Maebe
|
bd09b88a5b
+ support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension)
|
преди 11 години |
svenbarth
|
aca48a4cf2
Fix for Mantis #26288. Types declared inside a generic must have the df_generic flag set. Period.
|
преди 11 години |
svenbarth
|
1bbcc08a8b
Fix for Mantis #26176. Don't handle "type helper" as unique.
|
преди 11 години |
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.
|
преди 11 години |
svenbarth
|
b0670ee34c
Fix for Mantis #25600.
|
преди 11 години |
svenbarth
|
b9a59c33f4
Fix for Mantis #25915.
|
преди 11 години |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
преди 11 години |
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)
|
преди 11 години |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
преди 11 години |
paul
|
1c578de28c
compiler:
|
преди 12 години |
Jonas Maebe
|
9619ed8b4b
- undo hack from r25713
|
преди 12 години |
svenbarth
|
fb8b0e7a27
Fix for Mantis #24453. Check for nested types after a specialization. Additionally check correctly whether a type is really a generic before accepting it when parsing a generic.
|
преди 12 години |