mirror of
https://github.com/mirror/tinycc.git
synced 2026-09-05 12:14:52 +08:00
The major difficulty was to handle cleanup when a goto happen
to do so, I've had a "ScopeTracker" struct.
I can't use local_scope because that would not work with code like below
as local_scope would be at the same level:
{
char * __attribute__ ((cleanup(clean_function))) str = "hej";
goto next;
}
{
next:
}
107 KiB
107 KiB