summaryrefslogtreecommitdiff
path: root/colm/ctinput.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2011-12-30 20:22:45 +0000
committerAdrian Thurston <thurston@complang.org>2011-12-30 20:22:45 +0000
commitfbe3a86373bf7e6f10fbeeaef7222a6fc3163ace (patch)
treee9dd18400db4dda1861702f43ba9975040b39917 /colm/ctinput.cc
parent4eef3149d4b8bd1cffa7393a436c1f686705dd50 (diff)
downloadcolm-fbe3a86373bf7e6f10fbeeaef7222a6fc3163ace.tar.gz
More buildup of the input interface. refs #341.
Diffstat (limited to 'colm/ctinput.cc')
-rw-r--r--colm/ctinput.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/colm/ctinput.cc b/colm/ctinput.cc
index e2bc82e5..b726cbec 100644
--- a/colm/ctinput.cc
+++ b/colm/ctinput.cc
@@ -308,7 +308,7 @@ void inputStreamReplPushBackNamed( SourceStream *is )
int inputStreamReplConsumeData( SourceStream *is, int length )
{
debug( REALM_INPUT, "consuming %ld bytes\n", length );
- is->queue->offset += length;
+ is->offset += length;
return length;
}