the "Capture" struct is now a class

This commit is contained in:
Vern Paxson 2023-06-16 15:30:52 -07:00 committed by Arne Welzel
parent 528aa6766a
commit b6464814c9
6 changed files with 24 additions and 8 deletions

View file

@ -1640,9 +1640,7 @@ capture:
delete [] $2;
$$ = new FuncType::Capture;
$$->id = id;
$$->deep_copy = $1;
$$ = new FuncType::Capture(id, $1);
}
;