florian
|
20b1e3af78
Merging of generics branch of Sven Barth
|
13 years ago |
florian
|
040c846fa1
* set def to a defined value in try_parse_structdef_nested_type, resolves #20802
|
13 years ago |
svenbarth
|
35377bae67
Fix a remaining artefact from the overloaded symbols approach (just a comment, but nevertheless a change...)
|
13 years ago |
svenbarth
|
6aeceb92e8
ptype.pas, read_named_type, expr_type:
|
13 years ago |
svenbarth
|
6a83ebc4a5
Fix introduced regressions.
|
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
|
2146d8a8ec
compiler: allow CASE record block after the methods and other record elements (issue #0020638)
|
13 years ago |
Jonas Maebe
|
a228b211c4
* allow local type definitions for "file of xx" component types
|
14 years ago |
florian
|
80b5100bf6
* don't check array ranges for being constant in generic declarations, resolves #20028
|
14 years ago |
svenbarth
|
f594e5a3fc
Arrays and procvars inside a generic declaration are not declared as generic/specialization anymore (this partly reverts a previous commit). This reduces the problematic cases in the check whether a found def was specialized inside the class (the changed check in read_named_type.expr_type).
|
14 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 |
pierre
|
57f3f0a82b
scanner unit:
|
14 years ago |
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 years ago |
florian
|
79a96ab287
+ ttypesym.prettyname
|
14 years ago |
svenbarth
|
a862cd702d
Rebase to revision 18000
|
14 years ago |
svenbarth
|
de1e6b1c3d
Implement support for nested non-generic types inside generic types. This is mostly for records, classes and objects ("structures") as those didn't work at all, but the others (arrays, procvars) weren't done cleanly either.
|
14 years ago |
svenbarth
|
b0eb13cc3f
Removed the remaining traces of the type overloads and increased PPU version to differ from trunk.
|
14 years ago |
florian
|
d35d1ed357
+ initial support for pascal booleans with sizes 2, 4 and 8
|
14 years ago |
svenbarth
|
973750ebe5
Rebase to revision 17533
|
14 years ago |
svenbarth
|
6cee1dc4a4
*pexpr.pas:
|
14 years ago |
svenbarth
|
05e5bc031b
Moved "generate_specialization" from "ptype.pas" to "pgenutil.pas"
|
14 years ago |
svenbarth
|
b18772916b
* ptype.pas:
|
14 years ago |
paul
|
d21bbc4548
compiler: reduce amount of hints and warnings
|
14 years ago |
paul
|
f904f41664
compiler: don't allow local or anonymous records to have types (the second part of issue #0019099)
|
14 years ago |
svenbarth
|
16e500ee3c
Removed old search algorithm
|
14 years ago |
svenbarth
|
d0705a1779
Rebase to revision 17236
|
14 years ago |
svenbarth
|
a944be69a6
* nflw.pas: search for enumerators in helpers for records as well
|
14 years ago |