Skip to content

Commit f6b74c5

Browse files
committed
CONTRIBUTING.md: Update about 'struct tok' usage
[skip ci]
1 parent 08fa170 commit f6b74c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ and ask!
202202

203203
* Use `struct tok` for indexed strings and print them with
204204
`tok2str()` or `bittok2str()` (for flags).
205+
All `struct tok` must end with `{ 0, NULL }`.
205206

206207
* Avoid empty lines in output of printers.
207208

0 commit comments

Comments
 (0)