diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-12-05 22:57:03 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-12-05 22:57:03 +0000 |
commit | 493f94fdb0ff28ade1b388ffa4a797b15983e24f (patch) | |
tree | a0b53ebbe27dced32fee84588ebfccf8791541c8 /usr.sbin/snmpd | |
parent | b1c9e98378954f01ccf9b58f80287b075023fd31 (diff) |
re-sync yylex to the other parsers
found by deraadt@
Diffstat (limited to 'usr.sbin/snmpd')
-rw-r--r-- | usr.sbin/snmpd/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/parse.y b/usr.sbin/snmpd/parse.y index d7ac346d6bd..4d98c5dadfc 100644 --- a/usr.sbin/snmpd/parse.y +++ b/usr.sbin/snmpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.1 2007/12/05 09:22:44 reyk Exp $ */ +/* $OpenBSD: parse.y,v 1.2 2007/12/05 22:57:02 reyk Exp $ */ /* * Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net> @@ -479,7 +479,7 @@ yylex(void) top: p = buf; - while ((c = lgetc(0)) == ' ') + while ((c = lgetc(0)) == ' ' || c == '\t') ; /* nothing */ yylval.lineno = file->lineno; |