gh-122313: Clean up deep recursion guarding code in the compiler (GH-122640)
Add ENTER_RECURSIVE and LEAVE_RECURSIVE macros in ast.c, ast_opt.c and symtable.c. Remove VISIT_QUIT macro in symtable.c. The current recursion depth counter only needs to be updated during normal execution -- all functions should just return an error code if an error occurs.
S
Serhiy Storchaka committed
efcd65cd84d5ebcc6cacb67971f235a726a205e7
Parent: fe0a28d
Committed by GitHub <noreply@github.com>
on 8/3/2024, 9:45:45 AM