svenbarth
|
3ebb2522f1
consume_generic_type_parameter now parses the available parameters first before deciding which generic def is the correct one (this is stored in the "def" variable of the parent frame). The count of the parameters and the order is checked.
|
14 vuotta sitten |
svenbarth
|
35b47e491c
Rebase to revision 17306
|
14 vuotta sitten |
florian
|
3ce9ff93f1
+ patch by Jeppe Johansen to support automatic interrupt table generation by using the interrupt directive with an offset. Not activated yet because it requires to change also the startup code of the different mcus.
|
14 vuotta sitten |
svenbarth
|
d0705a1779
Rebase to revision 17236
|
14 vuotta sitten |
svenbarth
|
a944be69a6
* nflw.pas: search for enumerators in helpers for records as well
|
14 vuotta sitten |
Jonas Maebe
|
bc46ea5cba
* use compare_defs() instead of a plain "=" comparison to check that the
|
14 vuotta sitten |
svenbarth
|
f7f357f18e
* symconst.pas:
|
14 vuotta sitten |
svenbarth
|
963a4d7b23
Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef).
|
14 vuotta sitten |
svenbarth
|
07eebff55c
Rebase to revision 16827
|
14 vuotta sitten |
paul
|
a39733a0a2
compiler: extend enumerator support for records:
|
14 vuotta sitten |
paul
|
9499692eeb
compiler: allow Assignment and Explicit operators for undefined defs (issue #0018567)
|
14 vuotta sitten |
svenbarth
|
433851ab36
- compiler/pdecsub.pas:
|
14 vuotta sitten |
paul
|
0c9b40acb7
compiler: record operators
|
14 vuotta sitten |
paul
|
f9f316ac45
compiler: don't set a structure to routine if it accidentally match some (bug #0018452)
|
14 vuotta sitten |
paul
|
86482658a8
compiler: fix tgeneric11 test:
|
14 vuotta sitten |
paul
|
31de2aab1b
compiler: change parse_proc_head pd argument access type from var to out
|
14 vuotta sitten |
paul
|
749075a851
compiler: ignore case when check type parameters for identity
|
14 vuotta sitten |
paul
|
bd64575add
compiler: require generic name with type parameters for the method class prefix (like TGenericClass<T>.MethodName instead of TGenericClass.MethodName) in delphi mode
|
14 vuotta sitten |
paul
|
fa41b6ffe3
compiler: allow generic classes to derive from generic classes and generic interfaces
|
14 vuotta sitten |
Jonas Maebe
|
3ca3276400
* changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
|
14 vuotta sitten |
paul
|
e8502b8ec2
compiler: make current_genericdef, current_specializedef tstoreddef instead of tabstractrecorddef to implement generic arrays
|
14 vuotta sitten |
paul
|
52667b6822
compiler: implement generics for records based on generic objects implementation + 1 test
|
14 vuotta sitten |
paul
|
ee78cf0f06
compiler: use current_structdef in more places where current_objectdef was used, change type of current_genericdef and current_specializedef to tabstractrecorddef for future use with generic records
|
14 vuotta sitten |
paul
|
210e78e4fa
compiler: allow objects and records to have members which point to themself. only don't permit this to regular fields.
|
14 vuotta sitten |
paul
|
e098046608
compiler: fix typo
|
14 vuotta sitten |
paul
|
51a9d3280c
compiler: require at least one argument of class operator to be of type of structure where this operator is declared
|
14 vuotta sitten |
paul
|
ee6fe6c4f5
compiler: add unary plus node, search for unary plus operator if a type cannot be handled by compiler, increase ppu version because of node types change
|
14 vuotta sitten |
paul
|
c0c7e40b65
compiler: allow Inc, Dec, Explicit operators for other fpc modes
|
14 vuotta sitten |
paul
|
66b128efb3
compiler: map delphi Implicit operator to := operator of FPC, add Explicit operator for delphi only (for now) which works when explicit type conversion happens + extend test
|
14 vuotta sitten |
paul
|
4531e1231b
compiler: implement Inc, Dec class operators
|
14 vuotta sitten |