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