slightly simpler initialization of no_passwd and runas_matches

This commit is contained in:
Todd C. Miller
1996-07-08 00:34:13 +00:00
parent 064589670f
commit fb8c99d83c

View File

@@ -229,11 +229,9 @@ hostspec : ALL {
} }
; ;
opcmndlist : { opcmndlist : { no_passwd = runas_matches = -1; } opcmnd
cmnd_matches = no_passwd = runas_matches = -1;
} opcmnd
| opcmndlist ',' { | opcmndlist ',' {
cmnd_matches = no_passwd = runas_matches = -1; no_passwd = runas_matches = -1;
} opcmnd } opcmnd
; ;