svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
há 11 anos atrás |
svenbarth
|
e8edbd29c0
Fix for Mantis #24687.
|
há 12 anos atrás |
svenbarth
|
9d48bc0baf
Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498.
|
há 12 anos atrás |
paul
|
0d8ad2a932
compiler: don't treat TRUE and FALSE as keywords. They are predefined constants from this moment. This change is compatible with other pascal compilers. Fixes issue #0025030
|
há 12 anos atrás |
paul
|
93f1ba4493
compiler: don't allow to access an enum members through the enum member. It should be only possible throught the enum type name. Fixes issue #0025029
|
há 12 anos atrás |
paul
|
038b7746fb
compiler: implement preprocessor expressions (fixes mantis #0010671)
|
há 12 anos atrás |
paul
|
4fd0245120
compiler: fix indentation
|
há 12 anos atrás |
florian
|
bca6dafbc5
* mark the current procedure if it has a non local exit, not the targetted one
|
há 12 anos atrás |
paul
|
dc95ba5b07
compiler: handle other places where we check current_procdef for self node
|
há 12 anos atrás |
paul
|
4b76782691
compiler: fix property access from a nested routine of the static class method and extend a test
|
há 12 anos atrás |
paul
|
5c33644e5c
compiler: fix calling class methods from a nested routine of a static class method (mantis #0024865)
|
há 12 anos atrás |
paul
|
89e154bc10
compiler: if method has no self node then load it as a usual identifier (issue #0024871)
|
há 12 anos atrás |
Jonas Maebe
|
fb8fb29574
* record/use the code page of string constants typecasted to an ansistring
|
há 12 anos atrás |
nickysn
|
7edabc64e6
* rm support for Mem without segment on i8086
|
há 12 anos atrás |
nickysn
|
dd0d2d6bf5
* fixed the spurious compiler warnings and added proper rangechecking when using Mem[] on i8086
|
há 12 anos atrás |
nickysn
|
5b503f42c7
+ implemented Mem/MemW/MemL[] for i8086
|
há 12 anos atrás |
florian
|
0e41df598e
* merge i8086 branch by Nikolay Nikolov
|
há 12 anos atrás |
marco
|
8b411a549c
* functionname without () is a recursive call in Miso. Mantis #24309, though
|
há 12 anos atrás |
florian
|
fef7832790
* enable absolute for i8086-msdos
|
há 12 anos atrás |
svenbarth
|
344571cb4e
Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants.
|
há 12 anos atrás |
paul
|
5d74e0578a
compiler: remove unused variables and unneeded assignments
|
há 12 anos atrás |
paul
|
4d79a44e4c
compiler: don't create loadvmtaddrnode for record references, they have no VMT (fixes bug #23130)
|
há 12 anos atrás |
svenbarth
|
b5827ce363
Move the handling of "misstyled" floating point constants like "2." or "2.e10" from the scanner to the parser. This way type helpers calls for integer constants can be parsed correctly in the future.
|
há 12 anos atrás |
florian
|
b43b4bb455
+ pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned
|
há 12 anos atrás |
florian
|
fce9e953b4
+ nested exit support
|
há 12 anos atrás |
florian
|
288820715d
* don't crash in case a symbol is not found in type/var/const section
|
há 12 anos atrás |
florian
|
728c074bd6
* accept with statements with generic variables having a generic parameter type, resolves #21329
|
há 12 anos atrás |
svenbarth
|
4adb36e8da
Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future...
|
há 12 anos atrás |
Jonas Maebe
|
5929ec5592
* turned getpropaccesslist, add_parameters and add_index_parameter into
|
há 12 anos atrás |
florian
|
bc4a8ac63e
+ constant postfixoperator_tokens
|
há 12 anos atrás |