aboutsummaryrefslogtreecommitdiff
path: root/examples/defer.cup
Commit message (Collapse)AuthorAgeFilesLines
* Add basic `defer` implementation.Mustafa Quraish2022-02-011-0/+13
We don't have any closures yet, so it's essentially the same as just moving the statement after the `defer` keyword to the end of the block/ right before returning from the function.