Skip to content

Commit c870f46

Browse files
j-w-c-bSiegeLord
authored andcommitted
Remove GETTER/SETTER from generated docs
1 parent 85c9444 commit c870f46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/scripts/make_protos.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ int main(int argc, char *argv[])
3232
do_print = false;
3333
continue;
3434
}
35+
if (d_match(line, "^(GETTER|SETTER)")) {
36+
do_print = false;
37+
continue;
38+
}
3539
/* Prototype ends on blank line. */
3640
/* TODO: Should the above regexp match it? If so it doesn't here... */
3741
if (line[0] == 0) {

0 commit comments

Comments
 (0)