Skip to content

Commit f1b3a08

Browse files
committed
Fixed constructor name
1 parent fc7b70c commit f1b3a08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/rascal/lang/php/analysis/cfg/BuildCFG.rsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ public set[Lab] init(Stmt s, LabelState lstate) {
487487
case unset(list[Expr] unsetVars) : return init(head(unsetVars), lstate);
488488
489489
// A use statement is atomic.
490-
case use(_,_,_) : return { s.lab };
490+
case useStmt(_,_,_) : return { s.lab };
491491
492492
// In a while loop, the while condition is executed first and thus provides the first label.
493493
case \while(Expr cond, _) : return init(cond, lstate);
@@ -836,7 +836,7 @@ private set[Lab] final(Stmt s, LabelState lstate) {
836836
}
837837
838838
// A use is treated as a unit
839-
case use(_,_,_) : {
839+
case useStmt(_,_,_) : {
840840
return { s.lab };
841841
}
842842

0 commit comments

Comments
 (0)