mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
sprinter: clarify separator documentation
For text printers, the separator is a syntactic element.
This commit is contained in:
parent
480f44fbe4
commit
1358f93a9f
1 changed files with 5 additions and 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 *);
|
||||
|
||||
|
|
Loading…
Reference in a new issue