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