aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y22
1 files changed, 12 insertions, 10 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index d3af58b3..d03820b3 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -261,16 +261,18 @@ smtp_list : STRING {save_str(&current.smtphunt, $1,TRUE);}
| smtp_list STRING {save_str(&current.smtphunt, $2,TRUE);}
;
-num_list : NUMBER {
- struct idlist *id;
- id=save_str(&current.antispam,0,0);
- id->val.status.num = $1;
- }
- | num_list NUMBER {
- struct idlist *id;
- id=save_str(&current.antispam,0,0);
- id->val.status.num = $2;
- }
+num_list : NUMBER
+ {
+ struct idlist *id;
+ id=save_str(&current.antispam,STRING_DUMMY,0);
+ id->val.status.num = $1;
+ }
+ | num_list NUMBER
+ {
+ struct idlist *id;
+ id=save_str(&current.antispam,STRING_DUMMY,0);
+ id->val.status.num = $2;
+ }
;
user_option : TO localnames HERE