summaryrefslogtreecommitdiff
path: root/filter/f-inst.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@jmq.cz>2019-07-02 17:39:56 +0200
committerMaria Matejka <mq@jmq.cz>2019-07-02 17:39:56 +0200
commit550a6488c9e2241e2979317c04d6d73752618402 (patch)
tree768dae34ffda2affce8793f80fff21a235025fbd /filter/f-inst.c
parentb40c0f028f37086991fefa9197708ba8c7b3d571 (diff)
Filter: documentation of the M4 preprocessor
Diffstat (limited to 'filter/f-inst.c')
-rw-r--r--filter/f-inst.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/filter/f-inst.c b/filter/f-inst.c
index edc97794..5f30ee38 100644
--- a/filter/f-inst.c
+++ b/filter/f-inst.c
@@ -167,7 +167,7 @@
}
whati->f1 = NULL;
}
- FID_ALL
+ FID_INTERPRET_BODY
FID_INTERPRET_EXEC
if (fstk->vcnt < whati->count) /* TODO: make this check systematic */
@@ -198,7 +198,7 @@
FID_INTERPRET_EXEC
fstk->vcnt -= whati->count;
- FID_ALL
+ FID_INTERPRET_BODY
pm->len = whati->count;
RESULT(T_PATH_MASK, path_mask, pm);
@@ -337,7 +337,7 @@
FID_LINEARIZE_BODY
{
uint opos = pos;
- FID_ALL
+ FID_INTERPRET_BODY
ARG_ANY(1);
@@ -345,7 +345,7 @@
if (opos < pos)
dest->items[pos].flags |= FIF_PRINTED;
}
- FID_ALL
+ FID_INTERPRET_BODY
FID_MEMBER(enum filter_return, fret, f1->fret != f2->fret, %s, filter_return_str(item->fret));
@@ -1045,7 +1045,8 @@
INST(FI_ASSERT, 1, 0) { /* Birdtest Assert */
NEVER_CONSTANT;
ARG(1, T_BOOL);
- FID_MEMBER(char *, s, [[strcmp(f1->s, f2->s)]], string \"%s\", item->s);
+
+ FID_MEMBER(char *, s, [[strcmp(f1->s, f2->s)]], string %s, item->s);
ASSERT(s);