mirror of
https://github.com/irmen/prog8.git
synced 2025-11-01 06:16:15 +00:00
fix symbol prefixing on goto with expression
added coroutines example
This commit is contained in:
@@ -116,10 +116,9 @@ class PtIfElse(position: Position) : PtNode(position) {
|
||||
}
|
||||
|
||||
|
||||
class PtJump(val target: PtExpression, position: Position) : PtNode(position) {
|
||||
init {
|
||||
target.parent = this
|
||||
}
|
||||
class PtJump(position: Position) : PtNode(position) {
|
||||
val target: PtExpression
|
||||
get() = children.single() as PtExpression
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user