From e72ec8a0b777fdcc929919e28f1b0893a85271b5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 14 Oct 1996 16:28:52 +0000 Subject: Added `to' keyword, changed local-user default. svn path=/trunk/; revision=331 --- rcfile_y.y | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rcfile_y.y') diff --git a/rcfile_y.y b/rcfile_y.y index b0c5df13..f6df31ff 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -37,7 +37,7 @@ static int prc_errflag; } %token DEFAULTS SERVER PROTOCOL AUTHENTICATE TIMEOUT KPOP KERBEROS -%token USERNAME PASSWORD FOLDER SMTPHOST MDA IS HERE THERE +%token USERNAME PASSWORD FOLDER SMTPHOST MDA IS HERE THERE TO %token PROTO %token STRING %token NUMBER @@ -109,7 +109,9 @@ user1opts : user_option | user1opts user_option ; -user_option : IS STRING {strcpy(current.localname, $2);} +user_option : TO STRING {strcpy(current.localname, $2);} + | TO STRING HERE {strcpy(current.localname, $2);} + | IS STRING {strcpy(current.localname, $2);} | IS STRING HERE {strcpy(current.localname, $2);} | IS STRING THERE {strcpy(current.remotename, $2);} | PASSWORD STRING {strcpy(current.password, $2);} -- cgit v1.2.3