paul
|
a39733a0a2
compiler: extend enumerator support for records:
|
há 14 anos atrás |
paul
|
8102c480d7
compiler: generate an error message if enumerator operator is declared with return object which has no valid MoveNext method, Current property
|
há 14 anos atrás |
paul
|
9499692eeb
compiler: allow Assignment and Explicit operators for undefined defs (issue #0018567)
|
há 14 anos atrás |
Jonas Maebe
|
2222f2c44b
* renamed is_class_or_interface_or_dispinterface_or_objc() into
|
há 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
|
há 14 anos atrás |
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
|
há 14 anos atrás |
paul
|
4531e1231b
compiler: implement Inc, Dec class operators
|
há 14 anos atrás |
paul
|
b811f1be15
compiler: implement delphi style class operators:
|
há 14 anos atrás |
paul
|
525f4fea43
compiler: prepare collect_overloads_in_struct to work with operators, replace tprocsym argument in proc_add to tsymtable because tprocsym is only used to get the symtable
|
há 14 anos atrás |
paul
|
d97cf8ed9d
compiler: implement IN operator which was known by compiler but was not supported. + test
|
há 14 anos atrás |
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
|
há 14 anos atrás |
paul
|
8c0c614d5a
compiler: allow <> operator overload. search for "<>" operator first for "<>" expressions and if not found then use "=" operator + test
|
há 14 anos atrás |
paul
|
0f15d89f0a
compiler: formatting
|
há 14 anos atrás |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
há 14 anos atrás |
florian
|
eb3644140a
* patches from Aleksa Todorovic for #15480 to improve error reporting, does not resolve #15480
|
há 14 anos atrás |
Jonas Maebe
|
5e84c557fa
* don't internalerror when a property is hidden by a method in a child class
|
há 14 anos atrás |
joost
|
07bf44517c
* Merged XPCom branch into trunk, added support for constref and changed
|
há 14 anos atrás |
daniel
|
3307d98c40
- Revert micro-exe mode for now.
|
há 14 anos atrás |
daniel
|
2139a229d3
+ If no unit is used, no symbol inside the system unit is used,
|
há 15 anos atrás |
Jonas Maebe
|
f0114a8d4e
- removed unused variable after r15918
|
há 15 anos atrás |
Jonas Maebe
|
c43fda1fe1
* enabled maybe_call_procvar() also for macpas mode (calls procvars that
|
há 15 anos atrás |
Jonas Maebe
|
80086184d3
* mark values typecasted to regular array types and indexed as non-regable,
|
há 15 anos atrás |
Jonas Maebe
|
5ca1bd2a32
* if the unit of a procedure call is explicitly specified, limit the search
|
há 15 anos atrás |
Jonas Maebe
|
57bd6d2685
+ merged nestedprocvars branch
|
há 15 anos atrás |
Jonas Maebe
|
653974f679
* also give a "potential range error" hint with -CO in case the sizes
|
há 15 anos atrás |
Jonas Maebe
|
0cfc6e1cac
+ support for "univ" in macpas mode: a parameter modifier that allows
|
há 15 anos atrás |
Jonas Maebe
|
025ec34e4d
+ "CExtended" type that is the same as "extended", but conforming to the
|
há 15 anos atrás |
paul
|
009ef9184d
compiler: add dispinterfaces to most of places where something is comparing to usual interfaces since they are not very different things
|
há 15 anos atrás |
paul
|
74cc1e0bab
compiler: allow 'as' for dispinterface, allow comparisons of dispinterface and pointers (issue #0015530, issue #0015529)
|
há 15 anos atrás |
florian
|
d56bd6d246
* give better error messages if an operator is not overloaded
|
há 15 anos atrás |