joost
|
45bc3fcae0
* Enabled safecall on x86_64-linux
|
14 anos atrás |
svenbarth
|
8f0583ffb2
Switching from overloaded type symbol to unique symbol per generic.
|
14 anos atrás |
svenbarth
|
bba6e0e73f
This fixes an access violation when compiling tests\test\tgeneric30.pp
|
14 anos atrás |
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 anos atrás |
svenbarth
|
35b47e491c
Rebase to revision 17306
|
14 anos atrás |
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 anos atrás |
svenbarth
|
d0705a1779
Rebase to revision 17236
|
14 anos atrás |
svenbarth
|
a944be69a6
* nflw.pas: search for enumerators in helpers for records as well
|
14 anos atrás |
Jonas Maebe
|
bc46ea5cba
* use compare_defs() instead of a plain "=" comparison to check that the
|
14 anos atrás |
svenbarth
|
f7f357f18e
* symconst.pas:
|
14 anos atrás |
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 anos atrás |
svenbarth
|
07eebff55c
Rebase to revision 16827
|
14 anos atrás |
paul
|
a39733a0a2
compiler: extend enumerator support for records:
|
14 anos atrás |
paul
|
9499692eeb
compiler: allow Assignment and Explicit operators for undefined defs (issue #0018567)
|
14 anos atrás |
svenbarth
|
433851ab36
- compiler/pdecsub.pas:
|
14 anos atrás |
paul
|
0c9b40acb7
compiler: record operators
|
14 anos atrás |
paul
|
f9f316ac45
compiler: don't set a structure to routine if it accidentally match some (bug #0018452)
|
14 anos atrás |
paul
|
86482658a8
compiler: fix tgeneric11 test:
|
14 anos atrás |
paul
|
31de2aab1b
compiler: change parse_proc_head pd argument access type from var to out
|
14 anos atrás |
paul
|
749075a851
compiler: ignore case when check type parameters for identity
|
14 anos atrás |
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 anos atrás |
paul
|
fa41b6ffe3
compiler: allow generic classes to derive from generic classes and generic interfaces
|
14 anos atrás |
Jonas Maebe
|
3ca3276400
* changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
|
14 anos atrás |
paul
|
e8502b8ec2
compiler: make current_genericdef, current_specializedef tstoreddef instead of tabstractrecorddef to implement generic arrays
|
14 anos atrás |
paul
|
52667b6822
compiler: implement generics for records based on generic objects implementation + 1 test
|
14 anos atrás |
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 anos atrás |
paul
|
210e78e4fa
compiler: allow objects and records to have members which point to themself. only don't permit this to regular fields.
|
14 anos atrás |
paul
|
e098046608
compiler: fix typo
|
14 anos atrás |
paul
|
51a9d3280c
compiler: require at least one argument of class operator to be of type of structure where this operator is declared
|
14 anos atrás |
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 anos atrás |