summaryrefslogtreecommitdiffstats
path: root/filter/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-24 13:04:32 +0100
committerPavel Machek <pavel@ucw.cz>1999-11-24 13:04:32 +0100
commit48f9e0195488db0a515e4e5140d402fe4fe7d927 (patch)
tree16cc778a08b5fd3dcc2e7f21cfa69f741764208f /filter/config.Y
parent99bbd23b229419403f673c626001eb0f35cc3a4e (diff)
downloadbird-48f9e0195488db0a515e4e5140d402fe4fe7d927.tar
bird-48f9e0195488db0a515e4e5140d402fe4fe7d927.zip
Filters: write access to dynamic attributes should actually work. It
would be nice to find method of testing such beasts.
Diffstat (limited to 'filter/config.Y')
-rw-r--r--filter/config.Y4
1 files changed, 3 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y
index a24b157..aaea74f 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -364,7 +364,9 @@ cmd:
}
| UNSET '(' RTA '.' any_dynamic ')' ';' {
$$ = $5;
- $$->code = 'eD';
+ $$->aux = T_VOID;
+ $$->code = 'eS';
+ $$->a1.p = NULL;
}
| break_command print_list ';' { $$ = f_new_inst(); $$->code = 'p,'; $$->a1.p = $2; $$->a2.i = $1; }
| SYM '(' var_list ')' ';' {