diff options
author | Adrian Thurston <thurston@complang.org> | 2011-12-30 20:22:45 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2011-12-30 20:22:45 +0000 |
commit | fbe3a86373bf7e6f10fbeeaef7222a6fc3163ace (patch) | |
tree | e9dd18400db4dda1861702f43ba9975040b39917 /colm/ctinput.cc | |
parent | 4eef3149d4b8bd1cffa7393a436c1f686705dd50 (diff) | |
download | colm-fbe3a86373bf7e6f10fbeeaef7222a6fc3163ace.tar.gz |
More buildup of the input interface. refs #341.
Diffstat (limited to 'colm/ctinput.cc')
-rw-r--r-- | colm/ctinput.cc | 2 |
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; } |