paul
|
d25ae84113
compiler: don't output an error twice in 'on Exception do' block if Exception is not a valid type
|
преди 12 години |
paul
|
115ddf4364
compiler: modernize exception class parse:
|
преди 12 години |
svenbarth
|
407e9d173b
Fix for Mantis #17598. When extended syntax is off allow the result of constructors to be dropped when the constructor is called as an instance method instead of a class method.
|
преди 12 години |
svenbarth
|
b6bfa864d4
Disallow the usage of the inline assembler inside generics, because there are currently two problems:
|
преди 12 години |
Jonas Maebe
|
e621bff943
* don't make a deep copy of records (and in the future, objects) in with-
|
преди 12 години |
paul
|
51825b6f2e
compiler: change ret_in_param to accept tabstractprocdef instead of tproccalloption to allow check more options (required for record constructor implementation)
|
преди 12 години |
florian
|
fce9e953b4
+ nested exit support
|
преди 12 години |
florian
|
728c074bd6
* accept with statements with generic variables having a generic parameter type, resolves #21329
|
преди 12 години |
florian
|
f6109d7c65
* improved error reporting by printing the type being found in with expressions
|
преди 12 години |
svenbarth
|
d87b203a0a
Do not call ret_in_param of the current parameter manager when parsing a generic method/function. This fixes Mantis #21921.
|
преди 13 години |
pierre
|
600dd162af
Merge of rev21557 by Foxsen
|
преди 13 години |
pierre
|
c1269b0305
* Patch from Fuxin Zhang: po_assembler special code also disabled for mips and mipsel CPUs
|
преди 13 години |
florian
|
6c8eed21c4
+ implement auto inlining (-Ooautoinline)
|
преди 13 години |
sergei
|
c08ab0f745
* Re-raising exceptions must be allowed only in 'except' block itself, not in 'try' block of a nested try..except statement. Mantis #21873.
|
преди 13 години |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
преди 13 години |
Jonas Maebe
|
1f9d8420b6
* set correct fileinfo for the asmnodes (so that the start fileinfo of
|
преди 13 години |
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 години |
paul
|
1db610ecbd
merge r17434 from cpstrnew branch by michael:
|
преди 14 години |
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 години |
Jonas Maebe
|
48d63f2c75
* when taking the address of an expression for a with-statement, make
|
преди 14 години |
Jonas Maebe
|
0a3a62811b
+ try/except and try/finally support for JVM target:
|
преди 14 години |
Jonas Maebe
|
ab5b1fb686
* turned call_fail_node, initialize_data_node, and finalize_data_node from
|
преди 14 години |
florian
|
570f3c4b39
* merges recent class helper fixes by Sven Barth
|
преди 14 години |
florian
|
ad9956022c
* don't omit stackframe on avr for assembler routines
|
преди 14 години |
Jonas Maebe
|
2222f2c44b
* renamed is_class_or_interface_or_dispinterface_or_objc() into
|
преди 14 години |
paul
|
56bf42de57
compiler: implement record methods and class methods:
|
преди 14 години |
florian
|
0a625c856d
+ don't allow non local gotos across procedures containing exception frames
|
преди 15 години |
florian
|
38b90c987b
+ enable non local goto in macpas mode, test/tmacnonlocalgoto.pp does not fail anymore
|
преди 15 години |
Jonas Maebe
|
14b95b3b9b
* always force range checking for the upper and lower bounds of for-loops if
|
преди 15 години |
Jonas Maebe
|
bd0567563c
* don't crash in {$x-} mode if a call cannot be resolved due to an error
|
преди 15 години |