From 2d109f974b6a03a79db3dd8a5ffe5c2aff76659e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Jan 2021 22:22:38 -0800 Subject: Some general cleanup, adding comments, adding more __attribute__s where applicable --- grammar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grammar.h') diff --git a/grammar.h b/grammar.h index fe7280e..a7eedc4 100644 --- a/grammar.h +++ b/grammar.h @@ -7,7 +7,7 @@ #include "file_loader.h" #include "types.h" -__attribute__((nonnull(2,3,4))) +__attribute__((nonnull(2,3,4), returns_nonnull)) def_t *with_def(def_t *defs, file_t *f, const char *name, vm_op_t *op); __attribute__((nonnull(2,3))) def_t *with_backrefs(def_t *defs, file_t *f, match_t *m); -- cgit v1.2.3