florian
|
e841027a48
* fixes handling of typed files in iso mode
|
11 anni fa |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 anni fa |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
11 anni fa |
svenbarth
|
e8edbd29c0
Fix for Mantis #24687.
|
12 anni fa |
svenbarth
|
9d48bc0baf
Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498.
|
12 anni fa |
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
|
12 anni fa |
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
|
12 anni fa |
paul
|
038b7746fb
compiler: implement preprocessor expressions (fixes mantis #0010671)
|
12 anni fa |
paul
|
4fd0245120
compiler: fix indentation
|
12 anni fa |
florian
|
bca6dafbc5
* mark the current procedure if it has a non local exit, not the targetted one
|
12 anni fa |
paul
|
dc95ba5b07
compiler: handle other places where we check current_procdef for self node
|
12 anni fa |
paul
|
4b76782691
compiler: fix property access from a nested routine of the static class method and extend a test
|
12 anni fa |
paul
|
5c33644e5c
compiler: fix calling class methods from a nested routine of a static class method (mantis #0024865)
|
12 anni fa |
paul
|
89e154bc10
compiler: if method has no self node then load it as a usual identifier (issue #0024871)
|
12 anni fa |
Jonas Maebe
|
fb8fb29574
* record/use the code page of string constants typecasted to an ansistring
|
12 anni fa |
nickysn
|
7edabc64e6
* rm support for Mem without segment on i8086
|
12 anni fa |
nickysn
|
dd0d2d6bf5
* fixed the spurious compiler warnings and added proper rangechecking when using Mem[] on i8086
|
12 anni fa |
nickysn
|
5b503f42c7
+ implemented Mem/MemW/MemL[] for i8086
|
12 anni fa |
florian
|
0e41df598e
* merge i8086 branch by Nikolay Nikolov
|
12 anni fa |
marco
|
8b411a549c
* functionname without () is a recursive call in Miso. Mantis #24309, though
|
12 anni fa |
florian
|
fef7832790
* enable absolute for i8086-msdos
|
12 anni fa |
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.
|
12 anni fa |
paul
|
5d74e0578a
compiler: remove unused variables and unneeded assignments
|
12 anni fa |
paul
|
4d79a44e4c
compiler: don't create loadvmtaddrnode for record references, they have no VMT (fixes bug #23130)
|
12 anni fa |
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.
|
12 anni fa |
florian
|
b43b4bb455
+ pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned
|
12 anni fa |
florian
|
fce9e953b4
+ nested exit support
|
12 anni fa |
florian
|
288820715d
* don't crash in case a symbol is not found in type/var/const section
|
12 anni fa |
florian
|
728c074bd6
* accept with statements with generic variables having a generic parameter type, resolves #21329
|
12 anni fa |
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...
|
12 anni fa |