aboutsummaryrefslogtreecommitdiff
path: root/grammar.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-13 01:48:36 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-13 01:48:36 -0800
commit45d7aff47545f52136487fbb5b06cdcf716cbe9f (patch)
tree38140eaa9d47cea8276e06cec93f0cb2988eae8d /grammar.h
parent7e4b287d9bd904aaf9cc2bf77cdd456194130e99 (diff)
Major overhaul of some of the memory tracking code, as well as some
cleanup of the compilation code.
Diffstat (limited to 'grammar.h')
-rw-r--r--grammar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/grammar.h b/grammar.h
index a7eedc4..6822c24 100644
--- a/grammar.h
+++ b/grammar.h
@@ -15,6 +15,8 @@ __attribute__((nonnull(2)))
def_t *load_grammar(def_t *defs, file_t *f);
__attribute__((pure, nonnull(2)))
vm_op_t *lookup(def_t *defs, const char *name);
+__attribute__((nonnull(1)))
+void free_defs(def_t **defs, def_t *stop);
#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1