Introduce a fail(p, "msg") inline function that stores the error message in a buffer and longjmps, replacing ~52 fprintf(stderr,...)+longjmp pairs. The error message is propagated through Ast.err_msg so callers can decide whether/how to display it. Also add forward declarations for all static functions and move PtrModifiers typedef to the type definitions section. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 KiB
22 KiB