summaryrefslogtreecommitdiffstats
path: root/filter/filter.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-07-01 11:11:21 +0200
committerPavel Machek <pavel@ucw.cz>1999-07-01 11:11:21 +0200
commit6542ece91a783e999f61cc51cbe18c8b4c96a36c (patch)
tree061fd97a1a3ae1c45e22a2609a454ed69e14df19 /filter/filter.c
parent39369d6fbe4b3f73c8110b14623f367c8ffded50 (diff)
downloadbird-6542ece91a783e999f61cc51cbe18c8b4c96a36c.tar
bird-6542ece91a783e999f61cc51cbe18c8b4c96a36c.zip
Function calling in filters works - somehow. Calling syntax is
currently very ugly, beware. Variables are not really local - that needs to be fixed.
Diffstat (limited to 'filter/filter.c')
-rw-r--r--filter/filter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/filter/filter.c b/filter/filter.c
index 7afae43..c98440c 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -250,6 +250,10 @@ interpret(struct f_inst *what)
default: bug( "Unknown prefix to conversion\n" );
}
break;
+ case 'ca': /* CALL */
+ ONEARG;
+ res = interpret(what->a2.p);
+ break;
default:
bug( "Unknown instruction %d (%c)", what->code, what->code & 0xff);
}