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 роки тому |
florian
|
d35d1ed357
+ initial support for pascal booleans with sizes 2, 4 and 8
|
14 роки тому |
florian
|
6e1d5e0aa0
* handle pointer+type param. correctly, resolves #19548
|
14 роки тому |
svenbarth
|
a944be69a6
* nflw.pas: search for enumerators in helpers for records as well
|
14 роки тому |
svenbarth
|
f7f357f18e
* symconst.pas:
|
14 роки тому |
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 роки тому |
svenbarth
|
07eebff55c
Rebase to revision 16827
|
14 роки тому |
svenbarth
|
a317827456
symtable.pas:
|
14 роки тому |
paul
|
a39733a0a2
compiler: extend enumerator support for records:
|
14 роки тому |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
14 роки тому |
florian
|
474e8dc273
* ugly indention fixed
|
14 роки тому |
florian
|
eb3644140a
* patches from Aleksa Todorovic for #15480 to improve error reporting, does not resolve #15480
|
14 роки тому |
florian
|
0a625c856d
+ don't allow non local gotos across procedures containing exception frames
|
14 роки тому |
florian
|
38b90c987b
+ enable non local goto in macpas mode, test/tmacnonlocalgoto.pp does not fail anymore
|
14 роки тому |
Jonas Maebe
|
769eb3f604
* moved the initialisation of the nodetree and tai class reference constants
|
15 роки тому |
Jonas Maebe
|
92997a0249
* store/load tloopnode.loopflags to/from ppu files so that for/repeat/while
|
15 роки тому |
Jonas Maebe
|
94d976bc87
* when simplifying ordinal expressions during inlining, keep the resultdef
|
15 роки тому |
paul
|
4718c88f8d
compiler: compare enumerator operator "current" return type with the loop variable while searching for enumerator
|
15 роки тому |
pierre
|
11654d5f8c
|
15 роки тому |
pierre
|
874e69bcf8
* revert wrong commits
|
15 роки тому |
pierre
|
d27278faac
* Add external linker possibility for windows x86_64 compiler
|
15 роки тому |
florian
|
9365eb48c0
* check if labsym is assigned before testing if it's used globally
|
15 роки тому |
florian
|
bacd6fb71b
* disable reg. vars in subroutines with interprocedural used labels
|
15 роки тому |
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 роки тому |
florian
|
24fea58b92
+ initial implementation of iso style gotos in iso mode
|
15 роки тому |
Jonas Maebe
|
5dd72acf36
* make sure that exitnodes can be safely typecheckpassed more than once
|
15 роки тому |
Jonas Maebe
|
835899524b
+ support for Objective-Pascal for-in loops ("fast enumerations")
|
15 роки тому |
Jonas Maebe
|
df525d98a3
* fixed indentation of for-in code
|
15 роки тому |
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 роки тому |
paul
|
e520a2b941
compiler: for-in loop: fix temporary array range type
|
15 роки тому |