From 1358f93a9f9c827f43ad174dc7bbf27b90d2ef8a Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Mon, 17 Dec 2012 00:05:09 +0200 Subject: [PATCH] sprinter: clarify separator documentation For text printers, the separator is a syntactic element. --- sprinter.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sprinter.h b/sprinter.h index 59776a9c..f43a8443 100644 --- a/sprinter.h +++ b/sprinter.h @@ -42,10 +42,11 @@ typedef struct sprinter { */ void (*map_key) (struct sprinter *, const char *); - /* Insert a separator (usually extra whitespace) for improved - * readability without affecting the abstract syntax of the - * structure being printed. - * For JSON, this could simply be a line break. + /* Insert a separator (usually extra whitespace). For the text + * printers, this is a syntactic separator. For the structured + * printers, this is for improved readability without affecting + * the abstract syntax of the structure being printed. For JSON, + * this could simply be a line break. */ void (*separator) (struct sprinter *); -- 2.43.0