Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 anni fa |
Jonas Maebe
|
1f9d8420b6
* set correct fileinfo for the asmnodes (so that the start fileinfo of
|
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 |
paul
|
1db610ecbd
merge r17434 from cpstrnew branch by michael:
|
14 anni fa |
paul
|
8309809a0d
compiler: use try_consume_unitsym for except variable parse. this is needed to reduce maintenance cost for later unit identifier search changes
|
14 anni fa |
Jonas Maebe
|
48d63f2c75
* when taking the address of an expression for a with-statement, make
|
14 anni fa |
Jonas Maebe
|
0a3a62811b
+ try/except and try/finally support for JVM target:
|
14 anni fa |
Jonas Maebe
|
ab5b1fb686
* turned call_fail_node, initialize_data_node, and finalize_data_node from
|
14 anni fa |
florian
|
570f3c4b39
* merges recent class helper fixes by Sven Barth
|
14 anni fa |
florian
|
ad9956022c
* don't omit stackframe on avr for assembler routines
|
14 anni fa |
Jonas Maebe
|
2222f2c44b
* renamed is_class_or_interface_or_dispinterface_or_objc() into
|
14 anni fa |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
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
|
14b95b3b9b
* always force range checking for the upper and lower bounds of for-loops if
|
15 anni fa |
Jonas Maebe
|
bd0567563c
* don't crash in {$x-} mode if a call cannot be resolved due to an error
|
15 anni fa |
florian
|
24fea58b92
+ initial implementation of iso style gotos in iso mode
|
15 anni fa |
florian
|
591dbb66df
* ignore leading 0's in labels in iso mode
|
15 anni fa |
Jonas Maebe
|
d6d411442b
* more small indentation fixes
|
15 anni fa |
Jonas Maebe
|
e66dbe1317
* fixed indentation of for-in code
|
15 anni fa |
florian
|
af3eee54cd
* make nested comment warning go away
|
15 anni fa |
Jonas Maebe
|
a48a37d38b
* fixed extended syntax checking {$x-} by moving it from the typecheck pass
|
15 anni fa |
Jonas Maebe
|
88f5addd1c
* do not typecheck statements before checking whether they are valid,
|
15 anni fa |
Jonas Maebe
|
d60e1f674c
* automatically try to call procvars that are subscripted or used in a
|
15 anni fa |
florian
|
c6ffbe9eda
* support string constants > 255 chars
|
15 anni fa |
paul
|
009ef9184d
compiler: add dispinterfaces to most of places where something is comparing to usual interfaces since they are not very different things
|
15 anni fa |
florian
|
448f3d99c1
* cleanup of case <string> of code by Sergei Gorelkin, resolves #13700
|
16 anni fa |
paul
|
d89463588c
compiler: don't compile incorrect statements if operators are involved (issue #0015338) + test
|
16 anni fa |
Jonas Maebe
|
40f88809af
* don't error out or generate invalid code for "with x do ;"
|
16 anni fa |
Jonas Maebe
|
559e284bd0
* merged r13762-14047 from trunk
|
16 anni fa |