samiam95124 / Pascal-P6

6th version of Niklaus Wirth's original Pascal language compiler system
Other
28 stars 9 forks source link

Exceptions unwind handers for routines #156

Open samiam95124 opened 3 months ago

samiam95124 commented 3 months ago

Need to add exception unwind handlers for routines that need cleanup

Some routines that have cleanup issues like dynamic allocation may need their own unwind handler. It basically means they need their own exception frames. At this writing, I don't believe there are any. The global/main block does this, but exiting that ends the program. So there may be nothing to do, but this ticket can stay active for any issues.