diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-14 07:42:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-14 07:42:16 +0000 |
commit | b6e7c4e65d272da844a282081084a2bb81c8938e (patch) | |
tree | 85f76a0e11341077b80635c2615e946f561f22f7 /rcfile_l.l | |
parent | 04e293356472e13c75636bec4947c1c564339d3b (diff) | |
download | fetchmail-b6e7c4e65d272da844a282081084a2bb81c8938e.tar.gz fetchmail-b6e7c4e65d272da844a282081084a2bb81c8938e.tar.bz2 fetchmail-b6e7c4e65d272da844a282081084a2bb81c8938e.zip |
Disable l;iteralization after `password' when it's an authentication
type value.
svn path=/trunk/; revision=2555
Diffstat (limited to 'rcfile_l.l')
-rw-r--r-- | rcfile_l.l | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -19,7 +19,7 @@ int prc_lineno = 1; %a 4000 %p 3000 -%s NAME +%s NAME AUTHKIND %% @@ -74,10 +74,11 @@ proto(col)? { return PROTOCOL; } service { return SERVICE; } port { return PORT; } interval { return INTERVAL; } -auth(enticate)? { return AUTHENTICATE; } -kerberos(_v)?4 { return KERBEROS4; } -kerberos(_v)?5 { return KERBEROS5; } -kerberos { return KERBEROS; } +auth(enticate)? { BEGIN(AUTHKIND); return AUTHENTICATE; } +kerberos(_v)?4 { BEGIN(0); return KERBEROS4; } +kerberos(_v)?5 { BEGIN(0); return KERBEROS5; } +kerberos { BEGIN(0); return KERBEROS; } +<AUTHKIND>password { BEGIN(0); return PASSWORD; } timeout { return TIMEOUT;} envelope { return ENVELOPE; } qvirtual { return QVIRTUAL; } |