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