aboutsummaryrefslogtreecommitdiff
path: root/grammar.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-12 22:22:38 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-12 22:22:38 -0800
commit2d109f974b6a03a79db3dd8a5ffe5c2aff76659e (patch)
tree082415222af72e0ac17eac9260a5e5a1ce59221a /grammar.c
parent5811ff4554da3d980ff32a83efa35ea1a4512484 (diff)
Some general cleanup, adding comments, adding more __attribute__s where
applicable
Diffstat (limited to 'grammar.c')
-rw-r--r--grammar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/grammar.c b/grammar.c
index 01168af..e9ea4b4 100644
--- a/grammar.c
+++ b/grammar.c
@@ -67,6 +67,7 @@ vm_op_t *lookup(def_t *defs, const char *name)
//
// Push a backreference onto the backreference stack
//
+__attribute__((nonnull))
static def_t *with_backref(def_t *defs, file_t *f, const char *name, match_t *m)
{
vm_op_t *op = new(vm_op_t);