Skip to content

Commit

Permalink
Fixed constructor name
Browse files Browse the repository at this point in the history
  • Loading branch information
rodinaarssen committed Oct 31, 2024
1 parent fc7b70c commit f1b3a08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/rascal/lang/php/analysis/cfg/BuildCFG.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ public set[Lab] init(Stmt s, LabelState lstate) {
case unset(list[Expr] unsetVars) : return init(head(unsetVars), lstate);

// A use statement is atomic.
case use(_,_,_) : return { s.lab };
case useStmt(_,_,_) : return { s.lab };

// In a while loop, the while condition is executed first and thus provides the first label.
case \while(Expr cond, _) : return init(cond, lstate);
Expand Down Expand Up @@ -836,7 +836,7 @@ private set[Lab] final(Stmt s, LabelState lstate) {
}

// A use is treated as a unit
case use(_,_,_) : {
case useStmt(_,_,_) : {
return { s.lab };
}

Expand Down

0 comments on commit f1b3a08

Please sign in to comment.