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