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 jaren geleden |
svenbarth
|
7c3a95d63f
Extend the test with a usage of "TTestInteger" and correct the comments a bit.
|
14 jaren geleden |
svenbarth
|
feeff56099
We need to flag specializations of record-/objectdef once we have generated their methods otherwise an interesting situation might occur:
|
14 jaren geleden |
svenbarth
|
950f1e6a73
This check was commited by accident; it was a remain from an experimental solution to the "fix compilation of fgl"-problem.
|
14 jaren geleden |
svenbarth
|
a133a6af3f
Fix compilation of unit "fgl.pp" and of test "tests/test/tgeneric29.pp".
|
14 jaren geleden |
svenbarth
|
90278ec755
Allow generics to be overloaded by variables.
|
14 jaren geleden |
svenbarth
|
a93aeebb1f
types_dec:
|
14 jaren geleden |
svenbarth
|
5352f1dda4
Corrected the handling of hint directives.
|
14 jaren geleden |
svenbarth
|
988c799b0e
generate_specialization needs to return the correct generic def if the parent classes are parsed, so that that the usage of generic interfaces is allowed.
|
14 jaren geleden |
svenbarth
|
d54b7dd58f
Added two reminders for me
|
14 jaren geleden |
svenbarth
|
6b03193783
Switching from overloaded type symbol to unique symbol per generic.
|
14 jaren geleden |
svenbarth
|
a862cd702d
Rebase to revision 18000
|
14 jaren geleden |
svenbarth
|
6a9e882277
pexpr.pas, sub_expr: Added support for "as" and "is" operators if the right hand side is an inline specialization (currently detected by the next token being a "<"). This could potentially introduce some problems if the right hand side isn't a specialization but a "<" comparison together with some overloaded operators (I still need to find a case for such a problem)...
|
14 jaren geleden |
svenbarth
|
b23b42acb3
factor_read_id:
|
14 jaren geleden |
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 jaren geleden |
svenbarth
|
bb61abe546
Finally fixed the handling of hint directives and added a comment explaining the situation in the context of generics.
|
14 jaren geleden |
michael
|
840b158eb8
* Fixed DeleteKey. Deleting the last key does not delete the section (Delphi/Windows compatible)
|
14 jaren geleden |
svenbarth
|
8737220309
* Reordered the conditions for the inline spezialization as the "isgeneric" boolean is not needed
|
14 jaren geleden |
svenbarth
|
b0eb13cc3f
Removed the remaining traces of the type overloads and increased PPU version to differ from trunk.
|
14 jaren geleden |
svenbarth
|
6a60f9d42a
Integrated the changes from trunks's postfixoperators into my own and removed the local version again.
|
14 jaren geleden |
svenbarth
|
7a401d6f00
generate_specialization needs to return the correct generic def if the parent classes are parsed, so that that the usage of generic interfaces is allowed.
|
14 jaren geleden |
svenbarth
|
19f0bc5c64
Added two reminders for me
|
14 jaren geleden |
michael
|
066a001afe
* Fixed WriteString to be Windows/Delphi compatible. Writing an empty value does not delete the value
|
14 jaren geleden |
Jonas Maebe
|
d85ccd7418
* fixed compilation on targets where tthreadid is not an integer type after
|
14 jaren geleden |
sergei
|
5c3aca5148
* thread.inc, DoneThread: allow CurrentTM.ReleaseThreadVars to be unassigned and reset ThreadID (in preparation to support Windows native threadvars)
|
14 jaren geleden |
sekelsenmat
|
e21749d6d4
fpvectorial: Finishes fixing the colors in the PostScript reader
|
14 jaren geleden |
sekelsenmat
|
d37d0ae1a4
fpvectorial: Fixes some bugs in the PostScript interpreter, previously it didnt run some procedures, and adds more commands to it
|
14 jaren geleden |
sergei
|
ae4cdf25f8
+ aggas.pas: Write section attributes when long section names are used for smart linking (enabled for win32 and win64). It is needed because GAS does not understand that '.text.something' is part of '.text' and assigns default attributes (writable data) to all such sections, which is not the desired behavior.
|
14 jaren geleden |
sergei
|
35a2ed9a6c
- Removed unused variable
|
14 jaren geleden |
joost
|
b156dc5ad9
* Use new fpmake distclean command. After all targets are cleaned by fpmake distclean, cleanup the fpmake executable
|
14 jaren geleden |