svenbarth
|
0ff87336aa
Convert the Boolean parameters accept_equal, typeonly and hadspecialize of comp_expr(), sub_expr() and factor() to a set parameter and adjust all calls.
|
пре 9 година |
svenbarth
|
35d8a51730
pexpr.pas:
|
пре 10 година |
yury
|
11a9ff4a43
* Removed unused vars for mipsel compiler.
|
пре 10 година |
yury
|
432248cbf1
* Removed lot of unused vars.
|
пре 10 година |
florian
|
9a55e8fa3c
* do not call typecheckpass unncessarily in generic definitions, it might cause only errors, resolves #28058
|
пре 10 година |
Károly Balogh
|
56eeabd01b
fixed a warning with DFA
|
пре 10 година |
sergei
|
657ac78304
* Improved handling of registers used in assembler blocks. Assembler nodes no longer have lists of used registers attached to them. Instead, each specified register creates an allocation/deallocation pair and an additional tai_regalloc.markused item directly in the asmlist. This way, register lists are no longer limited to integer registers, and parsing no longer depends on paramanager to know which registers are volatile.
|
пре 10 година |
svenbarth
|
5a344ee263
Rework the way how "specialize" is handled. Instead of initializing the specialization of a full type declaration (including unit name and parent types) it is now considered part of the specialized type itself. This means that for example the following code:
|
пре 10 година |
Jonas Maebe
|
270c2d700e
* allow the "then" part of an if-statement to be terminated by any endtoken,
|
пре 11 година |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
пре 11 година |
florian
|
b2b26f84cf
* partially merged the mips-embedded branch of Michael Ring:
|
пре 11 година |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
пре 11 година |
paul
|
6e7cc22207
compiler: don't allow to assign to for-in loop variable (bug #0025318)
|
пре 11 година |
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 година |