Store break/continue targets

This commit is contained in:
Tamas Vajk
2021-09-21 15:46:45 +02:00
committed by Ian Lynagh
parent ae7aa30bda
commit aa190f9d65
2 changed files with 41 additions and 4 deletions

View File

@@ -1048,3 +1048,14 @@ ktCommentOwner(
int id: @ktcomment ref,
int owner: @top ref
)
@breakcontinuestmt = @breakstmt
| @continuestmt;
@ktloopstmt = @whilestmt
| @dostmt;
ktBreakContinueTarget(
unique int id: @breakcontinuestmt ref,
int target: @ktloopstmt ref
)