From bdef1cd0bb00251bf92e6a545bb6e0f2dc2814a5 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 2 Dec 2020 10:06:53 -0500 Subject: parse: Clean up debug flag parsing/printing --- ctx.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ctx.h') diff --git a/ctx.h b/ctx.h index 39b3330..35eee76 100644 --- a/ctx.h +++ b/ctx.h @@ -47,6 +47,11 @@ enum debug_flags { DEBUG_ALL = (1 << 7) - 1, }; +/** + * Convert a debug flag to a string. + */ +const char *debug_flag_name(enum debug_flags flag); + /** * The execution context for bfs. */ -- cgit v1.2.3