paul
|
5b9adfd0df
generics: store generic type with '<,>' symbols to prevent hiding of regular types with the same name and hiding generics with the same name but different type parameters, search them using '<,>' symbols, in inline specialization do search with look ahead.
|
пре 14 година |
paul
|
86482658a8
compiler: fix tgeneric11 test:
|
пре 14 година |
paul
|
e0e01899e5
compiler: move parse_generic_parameters to the interface of pdecl unit, move insert_generic_parameter_types to pdecl unit to access them from pdecsub (preparations for generic methods implementation)
|
пре 14 година |
paul
|
2599cc63bd
compiler: implement generic procedural types
|
пре 14 година |
paul
|
4cfcc7ae7b
compiler: implement delphi generic syntax for delphi mode
|
пре 14 година |
Jonas Maebe
|
360d102ea4
* fixed some comments after r16684
|
пре 14 година |
Jonas Maebe
|
3ca3276400
* changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
|
пре 14 година |
paul
|
55a0fefb1f
compiler: implement generic array type:
|
пре 14 година |
Jonas Maebe
|
2222f2c44b
* renamed is_class_or_interface_or_dispinterface_or_objc() into
|
пре 14 година |
paul
|
92d6503704
compiler: rename _EQUAL token to _EQ to prevent problems with adding delphi operator names which contains "EQUAL" name, also rename _UNEQUAL to _NE for consistency
|
пре 15 година |
paul
|
f3af6a83f7
compiler: put static symbol for typed consts declared in classes/records/objects into unit symtable to fix problems with linking and add absolute symbol into record symtable pointed to that static symbol (fixes test test/terecs3.pp on unixes)
|
пре 15 година |
paul
|
54b5172286
compiler: fix compiler crash (bug #0018222)
|
пре 15 година |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
пре 15 година |
paul
|
8e36256bc9
compiler: add support for visibility blocks in records and type, const declarations:
|
пре 15 година |
paul
|
433f18e60c
compiler: resolve only current typeblock forward declarations when the type block is finished (fixes bug #0018086)
|
пре 15 година |
florian
|
d30952b408
* patch by Aleksa Todorovic which adds the ability to reference current generic class. Each reference to current generic class is "translated" to appropriate specialization of that generic class. There are two tests as part of the patch to test that it works. The patch, also, rejects declaring generic inside another generic. 0010479 is easy to implement with this patch applied, resolves #11777
|
пре 15 година |
florian
|
d25b6f44f0
* avoid hint about uninitialized variable for compiler generated label jump buffer in macpas mode, resolves #17842
|
пре 15 година |
florian
|
38b90c987b
+ enable non local goto in macpas mode, test/tmacnonlocalgoto.pp does not fail anymore
|
пре 15 година |
pierre
|
41e388ace8
* Revert rev 16108
|
пре 15 година |
pierre
|
1d2581b6d9
labels need to be non-local for PIC code using GOT
|
пре 15 година |
florian
|
24fea58b92
+ initial implementation of iso style gotos in iso mode
|
пре 15 година |
Jonas Maebe
|
62d677eb92
+ support for formally declared objcclasses ("type x=objcclass;external;")
|
пре 15 година |
Jonas Maebe
|
4847103436
* don't try to generate mangled names for methods of categories
|
пре 15 година |
paul
|
c879230f08
compiler: fix parsing and handling of typed constants declared inside classes/objects + tests
|
пре 15 година |
paul
|
166f8a63a2
compiler: implement class constants + tests
|
пре 15 година |
paul
|
91ed1c6e6f
compiler: types in classes:
|
пре 15 година |
paul
|
3ed4c58502
compiler:
|
пре 15 година |
Jonas Maebe
|
f8754d8fab
+ Objective-C category support (old and new ABI, both external and
|
пре 16 година |
Jonas Maebe
|
60a9ef963d
* finished basic support for calling methods from external C++ classes
|
пре 16 година |
Jonas Maebe
|
559e284bd0
* merged r13762-14047 from trunk
|
пре 16 година |