aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-23 21:48:51 -0400
committerDavid Robillard <d@drobilla.net>2022-10-23 21:48:51 -0400
commit4786554c2072f6736a464101da43cc90e21f2326 (patch)
tree5090e3f0a691500354d20f39e3c641f85de164ff /src
parent5947cac55a98140859b7a5e7de357a1d45bccd43 (diff)
downloadserd-4786554c2072f6736a464101da43cc90e21f2326.tar.gz
serd-4786554c2072f6736a464101da43cc90e21f2326.tar.bz2
serd-4786554c2072f6736a464101da43cc90e21f2326.zip
Add trailing commas to enum declarations
This has been supported since C99 and C++11, and makes for less noisy diffs and fewer conflicts when things are added.
Diffstat (limited to 'src')
-rw-r--r--src/writer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/writer.c b/src/writer.c
index e78e100b..26ed01c0 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -22,7 +22,7 @@ typedef enum {
FIELD_SUBJECT,
FIELD_PREDICATE,
FIELD_OBJECT,
- FIELD_GRAPH
+ FIELD_GRAPH,
} Field;
typedef struct {
@@ -50,7 +50,7 @@ typedef enum {
SEP_GRAPH_BEGIN, ///< Start of graph ('{')
SEP_GRAPH_END, ///< End of graph ('}')
SEP_URI_BEGIN, ///< URI start quote ('<')
- SEP_URI_END ///< URI end quote ('>')
+ SEP_URI_END, ///< URI end quote ('>')
} Sep;
typedef struct {