From 55e8ca6927b4262280fe3b7f0e8bbe136811c912 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sun, 30 Dec 2012 12:45:06 -0500 Subject: removed handlesLine from SourceStream, not used --- colm/ctinput.cc | 2 -- colm/input.h | 4 ---- 2 files changed, 6 deletions(-) (limited to 'colm') diff --git a/colm/ctinput.cc b/colm/ctinput.cc index 90e2f60b..20aa7c1f 100644 --- a/colm/ctinput.cc +++ b/colm/ctinput.cc @@ -42,7 +42,6 @@ SourceStream *newSourceStreamPat( Pattern *pattern ) { SourceStream *is = (SourceStream*)malloc(sizeof(SourceStream)); memset( is, 0, sizeof(SourceStream) ); - is->handlesLine = true; is->pattern = pattern; is->patItem = pattern->list->head; is->funcs = &patternFuncs; @@ -208,7 +207,6 @@ SourceStream *newSourceStreamCons( Constructor *constructor ) { SourceStream *is = (SourceStream*)malloc(sizeof(SourceStream)); memset( is, 0, sizeof(SourceStream) ); - is->handlesLine = true; is->constructor = constructor; is->consItem = constructor->list->head; is->funcs = &replFuncs; diff --git a/colm/input.h b/colm/input.h index 5c3dc465..9e73b3a9 100644 --- a/colm/input.h +++ b/colm/input.h @@ -111,10 +111,6 @@ struct _SourceStream long column; long byte; - /* This is set true for input streams that do their own line counting. - * Causes FsmRun to ignore NLs. */ - int handlesLine; - RunBuf *queue; RunBuf *queueTail; -- cgit v1.2.1