From 66f7feef55d64cb7d2699769d3ba468012979e8b Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Fri, 10 Nov 2000 01:41:00 +0000 Subject: [PATCH] the ungettoken changes broken line number reporting --- lib/isc/lex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/isc/lex.c b/lib/isc/lex.c index 851e9e2181..77ae5e7e91 100644 --- a/lib/isc/lex.c +++ b/lib/isc/lex.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: lex.c,v 1.41 2000/11/09 02:23:40 bwelling Exp $ */ +/* $Id: lex.c,v 1.42 2000/11/10 01:41:00 bwelling Exp $ */ #include @@ -347,8 +347,6 @@ pushandgrow(isc_lex_t *lex, inputsource *source, int c) { source->pushback = tbuf; } isc_buffer_putuint8(source->pushback, (isc_uint8_t)c); - if (c == '\n') - source->line--; return (ISC_R_SUCCESS); }