sergei
|
6cb6569d51
* Set pi_uses_exceptions flag when creating/firstpassing ttryexceptnode or ttryfinallynode, not when parsing try statements. It ensures that procedures with exception handling nodes created by compiler (constructors in the first place, but also for..in loops with TObject iterators, etc.) are handled the same way as ones containing exception nodes from user code.
|
13 anos atrás |
florian
|
d35d1ed357
+ initial support for pascal booleans with sizes 2, 4 and 8
|
14 anos atrás |
florian
|
6e1d5e0aa0
* handle pointer+type param. correctly, resolves #19548
|
14 anos atrás |
svenbarth
|
a944be69a6
* nflw.pas: search for enumerators in helpers for records as well
|
14 anos atrás |
svenbarth
|
f7f357f18e
* symconst.pas:
|
14 anos atrás |
svenbarth
|
963a4d7b23
Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef).
|
14 anos atrás |
svenbarth
|
07eebff55c
Rebase to revision 16827
|
14 anos atrás |
svenbarth
|
a317827456
symtable.pas:
|
14 anos atrás |
paul
|
a39733a0a2
compiler: extend enumerator support for records:
|
14 anos atrás |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
14 anos atrás |
florian
|
474e8dc273
* ugly indention fixed
|
15 anos atrás |
florian
|
eb3644140a
* patches from Aleksa Todorovic for #15480 to improve error reporting, does not resolve #15480
|
15 anos atrás |
florian
|
0a625c856d
+ don't allow non local gotos across procedures containing exception frames
|
15 anos atrás |
florian
|
38b90c987b
+ enable non local goto in macpas mode, test/tmacnonlocalgoto.pp does not fail anymore
|
15 anos atrás |
Jonas Maebe
|
769eb3f604
* moved the initialisation of the nodetree and tai class reference constants
|
15 anos atrás |
Jonas Maebe
|
92997a0249
* store/load tloopnode.loopflags to/from ppu files so that for/repeat/while
|
15 anos atrás |
Jonas Maebe
|
94d976bc87
* when simplifying ordinal expressions during inlining, keep the resultdef
|
15 anos atrás |
paul
|
4718c88f8d
compiler: compare enumerator operator "current" return type with the loop variable while searching for enumerator
|
15 anos atrás |
pierre
|
11654d5f8c
|
15 anos atrás |
pierre
|
874e69bcf8
* revert wrong commits
|
15 anos atrás |
pierre
|
d27278faac
* Add external linker possibility for windows x86_64 compiler
|
15 anos atrás |
florian
|
9365eb48c0
* check if labsym is assigned before testing if it's used globally
|
15 anos atrás |
florian
|
bacd6fb71b
* disable reg. vars in subroutines with interprocedural used labels
|
15 anos atrás |
florian
|
ad23569cf1
* renamed pi_has_goto into pi_has_label because the problematic thing is if a procedure has a label as target and not if it has some goto
|
15 anos atrás |
florian
|
24fea58b92
+ initial implementation of iso style gotos in iso mode
|
15 anos atrás |
Jonas Maebe
|
5dd72acf36
* make sure that exitnodes can be safely typecheckpassed more than once
|
15 anos atrás |
Jonas Maebe
|
835899524b
+ support for Objective-Pascal for-in loops ("fast enumerations")
|
15 anos atrás |
Jonas Maebe
|
df525d98a3
* fixed indentation of for-in code
|
15 anos atrás |
paul
|
ceccce93f5
compiler: add class constructors, class destructors to the initfinal table as regular initialization/finalization sections (class constructors is still not striped away with the class)
|
15 anos atrás |
paul
|
e520a2b941
compiler: for-in loop: fix temporary array range type
|
16 anos atrás |