diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-10 01:45:40 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-10 01:45:40 -0800 |
| commit | 421880be128dc9614b4d194991bdd47d61af78b8 (patch) | |
| tree | 8a0a5e9f2802917316097496608d8d8419e32989 /vm.h | |
| parent | b8a5d399d76efd983255e26eea38029e358cc381 (diff) | |
Refactor of grammar logic to instead *only* use a linked list for all
grammar rules and backrefs. This simplifies things a lot.
Diffstat (limited to 'vm.h')
| -rw-r--r-- | vm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,8 +9,8 @@ #include "types.h" const char *opcode_name(enum VMOpcode o); -__attribute__((hot, nonnull)) -match_t *match(grammar_t *g, file_t *f, const char *str, vm_op_t *op, unsigned int flags); +__attribute__((hot, nonnull(2,3,4))) +match_t *match(def_t *defs, file_t *f, const char *str, vm_op_t *op, unsigned int flags); __attribute__((nonnull)) void destroy_match(match_t **m); __attribute__((nonnull)) |
