svenbarth
|
344571cb4e
Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants.
|
12 years ago |
paul
|
5d74e0578a
compiler: remove unused variables and unneeded assignments
|
12 years ago |
paul
|
3a3c10a474
compiler: don't allow constants, methods, class members and properties for local or anonymous records (fixes bug #0023000)
|
12 years ago |
Jonas Maebe
|
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
|
12 years ago |
florian
|
728c074bd6
* accept with statements with generic variables having a generic parameter type, resolves #21329
|
12 years ago |
Jonas Maebe
|
1c32590294
+ added search_struct_member_no_helper() to search a struct for a symbol
|
12 years ago |
Jonas Maebe
|
42f6caa0d1
* allow accessing strict protected symbols from the extended struct inside
|
13 years ago |
Jonas Maebe
|
e9f4b095e1
+ explanation for the parameters of is_visible_for_object
|
13 years ago |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
13 years ago |
Jonas Maebe
|
3798b79fd7
+ optimization that (re)orders instance fields of Delphi-style classes in
|
13 years ago |
svenbarth
|
71c13190e1
Fix for Mantis #22329.
|
13 years ago |
Jonas Maebe
|
572012fad3
* mark units as used in case only static symbols from inside object,
|
13 years ago |
svenbarth
|
dbc410de63
Allow the usage of a generic's name without type arguments inside of nested classes inside the generic. This fixes Mantis #19499, but also Mantis #18688.
|
13 years ago |
svenbarth
|
810bd7ddab
+ symtable.pas, tspecializesymtable.create: SymList and DefList do not need to own the symbols and defs as they are moved to another symtable before the specialize symtable is destroyed (avoids the need to call "extract" on those lists)
|
13 years ago |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 years ago |
Jonas Maebe
|
57908f528b
* AIX-specific struct alignment rules
|
13 years ago |
paul
|
75eaad88fb
compiler: don't crash after r20753
|
13 years ago |
Jonas Maebe
|
b9c54fab0d
* fixed finding the real definition for formal Objective-C protocols
|
13 years ago |
svenbarth
|
a28a9a9521
* pdecobj.pas, object_dec:
|
13 years ago |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
13 years ago |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
13 years ago |
svenbarth
|
594f84dc2c
Merge branch 'unique-syms'
|
13 years ago |
paul
|
b8589d98cc
compiler: Don't allow duplicate property/procedure identifiers inside object declaration. The code which allowed this for delphi mode was initially written based on invalid test from mantis #0009176. Fixes bug #0020580.
|
13 years ago |
svenbarth
|
a133a6af3f
Fix compilation of unit "fgl.pp" and of test "tests/test/tgeneric29.pp".
|
14 years ago |
svenbarth
|
90278ec755
Allow generics to be overloaded by variables.
|
14 years ago |
paul
|
ceb141523d
compiler: store property parameters in a parasymtables together with property. restore those parameters for descendant properties (fixes mantis #0020421 but maybe not very optimal)
|
14 years ago |
florian
|
df75368d0b
--- Merging r19281 into '.':
|
14 years ago |
paul
|
389c033a29
compiler: fix private and protected members visibility check for nested records (issue #0018768)
|
14 years ago |
paul
|
dd5aa12531
compiler: fix strict private visibility check for nested types (issue #0018767)
|
14 years ago |
paul
|
7dd8a97487
compiler: allow "with" to search members in nested types properly
|
14 years ago |