Commit 66f7feef authored by Brian Wellington's avatar Brian Wellington
Browse files

the ungettoken changes broken line number reporting

parent ac5921d1
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * 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 <config.h> #include <config.h>
...@@ -347,8 +347,6 @@ pushandgrow(isc_lex_t *lex, inputsource *source, int c) { ...@@ -347,8 +347,6 @@ pushandgrow(isc_lex_t *lex, inputsource *source, int c) {
source->pushback = tbuf; source->pushback = tbuf;
} }
isc_buffer_putuint8(source->pushback, (isc_uint8_t)c); isc_buffer_putuint8(source->pushback, (isc_uint8_t)c);
if (c == '\n')
source->line--;
return (ISC_R_SUCCESS); return (ISC_R_SUCCESS);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment