diff options
author | Jani Nikula <jani@nikula.org> | 2012-12-17 00:05:09 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-18 17:03:24 -0400 |
commit | 1358f93a9f9c827f43ad174dc7bbf27b90d2ef8a (patch) | |
tree | 0a932777d0bc9a0c6d11618ee6630bc2cd46d4b2 /sprinter.h | |
parent | 480f44fbe47a068626dbb7c7d9e9b1fb72a5da0f (diff) |
sprinter: clarify separator documentation
For text printers, the separator is a syntactic element.
Diffstat (limited to 'sprinter.h')
-rw-r--r-- | sprinter.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 *); |