Commit 4af1780
committed
adds support for the trailing commas in the enum-list rule
Here is the test:
```
$ cat enum-{commas,no-comma}.c
typedef enum {
Little,
Medium,
Big,
} Size;
typedef enum {
Little,
Medium,
Big
} Size;
$ ./printc/printc enum-{commas,no-comma}.c
typedef enum {
Little,
Medium,
Big
} Size;
typedef enum {
Little,
Medium,
Big
} Size;
```1 parent 3951bf7 commit 4af1780
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
| 832 | + | |
| 833 | + | |
832 | 834 | | |
833 | 835 | | |
834 | 836 | | |
| |||
0 commit comments