diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-03-30 12:59:32 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-04-01 07:28:02 -0400 |
commit | b1fe97289315cfb6278eec4554b92776df98f28d (patch) | |
tree | f0a5f698ee15c85ce97e7dc2b7cb6c575a71df0b /src/color.h | |
parent | fe6b742fc9803afc66e8ed98c7b3ef1ccdfa9a83 (diff) | |
download | bfs-b1fe97289315cfb6278eec4554b92776df98f28d.tar.xz |
color: New %p[xX] formats for expressions in diagnostics
Diffstat (limited to 'src/color.h')
-rw-r--r-- | src/color.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 '$' |