summaryrefslogtreecommitdiff
path: root/nest/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-05-26 14:37:07 +0000
committerPavel Machek <pavel@ucw.cz>1999-05-26 14:37:07 +0000
commit858a717796d7aa48fe9b22a6b035fec9edbb5a2a (patch)
tree1e9753c5047d3c947080a314fa5e3124def6f947 /nest/config.Y
parent7eb01479c92cd2f615993f2112aa5986f3e2b0ad (diff)
Change format of passwords (less ;'s) and fix password.h to allow
multiple inclusions.
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y11
1 files changed, 6 insertions, 5 deletions
diff --git a/nest/config.Y b/nest/config.Y
index c13a6aec..b0634a62 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -146,15 +146,16 @@ password_begin:
password_items:
/* empty */ { }
- | FROM datetime ';' password_items { last_password_item->from = $2; }
- | TO datetime ';' password_items { last_password_item->to = $2; }
- | ID NUM ';' password_items { last_password_item->id = $2; }
+ | FROM datetime password_items { last_password_item->from = $2; }
+ | TO datetime password_items { last_password_item->to = $2; }
+ | ID NUM password_items { last_password_item->id = $2; }
;
password_list:
/* empty */ { $$ = NULL; }
- | '{' password_begin ';' password_items '}' password_list {
- last_password_item->next = $6;
+ | password_begin password_items ';' password_list {
+ last_password_item->next = $4;
+ $$ = last_password_item;
}
;