mirror of
https://github.com/irmen/prog8.git
synced 2024-09-11 00:54:31 +00:00
todo
This commit is contained in:
parent
acb2ee53bb
commit
0db141eeac
@ -134,7 +134,7 @@ class Program(val name: String,
|
|||||||
.first { it.name == internedStringsModuleName }.statements
|
.first { it.name == internedStringsModuleName }.statements
|
||||||
.first { it is Block && it.name == internedStringsModuleName } as Block
|
.first { it is Block && it.name == internedStringsModuleName } as Block
|
||||||
removals.forEach { scopedname ->
|
removals.forEach { scopedname ->
|
||||||
val decl = internedStringsBlock.statements.filterIsInstance<VarDecl>().single { decl -> decl.scopedName == scopedname } as VarDecl
|
val decl = internedStringsBlock.statements.filterIsInstance<VarDecl>().single { decl -> decl.scopedName == scopedname }
|
||||||
val numRefs = program.internedStringsReferenceCounts.getValue(decl) - 1
|
val numRefs = program.internedStringsReferenceCounts.getValue(decl) - 1
|
||||||
program.internedStringsReferenceCounts[decl] = numRefs
|
program.internedStringsReferenceCounts[decl] = numRefs
|
||||||
if(numRefs==0)
|
if(numRefs==0)
|
||||||
|
@ -2,6 +2,12 @@ TODO
|
|||||||
====
|
====
|
||||||
|
|
||||||
- fix type error with returning an array literal from a subroutine returning uword
|
- fix type error with returning an array literal from a subroutine returning uword
|
||||||
|
- fix IR loading of romsubs
|
||||||
|
romsub $FFD2 = chrout(ubyte ch @ A)
|
||||||
|
sub start() {
|
||||||
|
ubyte ch = '\n'
|
||||||
|
chrout(ch)
|
||||||
|
}
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user