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.
|
14 年 前 |
paul
|
e098046608
compiler: fix typo
|
14 年 前 |
paul
|
51a9d3280c
compiler: require at least one argument of class operator to be of type of structure where this operator is declared
|
14 年 前 |
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 年 前 |
paul
|
c0c7e40b65
compiler: allow Inc, Dec, Explicit operators for other fpc modes
|
15 年 前 |
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
|
15 年 前 |
paul
|
4531e1231b
compiler: implement Inc, Dec class operators
|
15 年 前 |
paul
|
8c8c1fc151
compiler:
|
15 年 前 |
paul
|
3c6fde4acc
compiler: rename parser_e_constructors_always_objects message to parser_e_only_methods_allowed and extended the meaning it has, don't allow class constructors to be declared outside the class/record + test
|
15 年 前 |
paul
|
b811f1be15
compiler: implement delphi style class operators:
|
15 年 前 |
paul
|
d97cf8ed9d
compiler: implement IN operator which was known by compiler but was not supported. + test
|
15 年 前 |
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
|
8c0c614d5a
compiler: allow <> operator overload. search for "<>" operator first for "<>" expressions and if not found then use "=" operator + test
|
15 年 前 |
paul
|
742b0bb686
compiler: partly revert r16560 and disable (at least temporary) constructors in records
|
15 年 前 |
paul
|
8c56269076
compiler: fix record constructor return type when parsing procedure declaration
|
15 年 前 |
paul
|
11d4eddf67
compiler: a trial to implement record constructor
|
15 年 前 |
paul
|
289c9bd192
compiler: remove unneeded checks and typecasting caused by move of objectoptions into tabstractrecorddef
|
15 年 前 |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
15 年 前 |
paul
|
26cef34005
compiler:
|
15 年 前 |
paul
|
2155dadf5e
compiler: push to the stack not only nested hierarchy but also class hierarchy for each nested entry both in method declaration and for method body, also push child hierarchy while parsing object members because in other case parent types are invisible for descendants (fixes mantis #0018124, mantis #0018127 and more) + extended test
|
15 年 前 |
paul
|
0c23029d8f
compiler: add all nested classes to the symtable stack while parsing method header (issue #0017952)
|
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 年 前 |
Jonas Maebe
|
a631ab2a7e
* add the C-prefix to the exported name of routines that are automatically
|
15 年 前 |
sergei
|
ba700ad2ff
* Improvements to Dispatch call handling:
|
15 年 前 |
pierre
|
2003c2af70
* In MacPas mode, externals have realname with target_info Cprefix
|
15 年 前 |
joost
|
07bf44517c
* Merged XPCom branch into trunk, added support for constref and changed
|
15 年 前 |
joost
|
799b0368ac
* place the function result parameter last for safecall routines on
|
15 年 前 |
Jonas Maebe
|
f13f6627c4
* moved use_fixed_stack from cgutils to a method in paramgr so it can
|
15 年 前 |
joost
|
65ab1e820b
* Safecall on linux/i386 now behaves like cdecl plus hidden exception support.
|
15 年 前 |