From b1fe97289315cfb6278eec4554b92776df98f28d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 30 Mar 2025 12:59:32 -0400 Subject: color: New %p[xX] formats for expressions in diagnostics --- src/color.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/color.h') diff --git a/src/color.h b/src/color.h index 2394af2..aac8b33 100644 --- a/src/color.h +++ b/src/color.h @@ -95,6 +95,8 @@ int cfclose(CFILE *cfile); * %pL: A colored link target, from a const struct BFTW * argument * %pe: Dump a const struct bfs_expr *, for debugging. * %pE: Dump a const struct bfs_expr * in verbose form, for debugging. + * %px: Print a const struct bfs_expr * with syntax highlighting. + * %pX: Print the name of a const struct bfs_expr *, without arguments. * %%: A literal '%' * ${cc}: Change the color to 'cc' * $$: A literal '$' -- cgit v1.2.3