aboutsummaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-28 21:30:43 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-28 21:30:43 -0700
commit1a8095c6d774e3448f6afa1aeec2bc79c5bb545e (patch)
tree31e6a146c9384321dd949f4e51b6e315a08f087a /compiler.h
parent90b8db84a48ca9ea1311abd202a546a4f697f4e6 (diff)
Starting to add better error messages
Diffstat (limited to 'compiler.h')
-rw-r--r--compiler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler.h b/compiler.h
index d5b4ff1..89693af 100644
--- a/compiler.h
+++ b/compiler.h
@@ -9,13 +9,13 @@
#include "types.h"
#include "file_loader.h"
-__attribute__((nonnull(2)))
+__attribute__((nonnull(1,2)))
vm_op_t *bpeg_simplepattern(file_t *f, const char *str);
-__attribute__((nonnull(2)))
+__attribute__((nonnull(1,2)))
vm_op_t *bpeg_stringpattern(file_t *f, const char *str);
__attribute__((nonnull(1,2)))
vm_op_t *bpeg_replacement(vm_op_t *pat, const char *replacement);
-__attribute__((nonnull(2)))
+__attribute__((nonnull(1,2)))
vm_op_t *bpeg_pattern(file_t *f, const char *str);
#endif