summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-02-10 21:00:50 -0500
committerAdrian Thurston <thurston@complang.org>2013-02-10 21:00:50 -0500
commitb81b01924867d507f6ebacc7e9bf4bff533b46a6 (patch)
tree527fed152219011afe4494aa24365bb5d1bc47c9
parentd559e6a6af04863a5623f0f1647e43cdf200d058 (diff)
downloadcolm-b81b01924867d507f6ebacc7e9bf4bff533b46a6.tar.gz
can't use IN_INPUT_PULL_WC just yet
The input variable is a local, which is normally not reverted, but because it is a stream it has to have revert code made for it. Might have to add a new class of vars here, locals that need reverting.
-rw-r--r--colm/synthesis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/colm/synthesis.cc b/colm/synthesis.cc
index f164e1ed..ad065343 100644
--- a/colm/synthesis.cc
+++ b/colm/synthesis.cc
@@ -2531,7 +2531,7 @@ void Compiler::initStreamObject( )
streamLangEl->objectDef = streamObj;
initFunction( uniqueTypeStr, streamObj, "pull",
- IN_INPUT_PULL_WV, IN_INPUT_PULL_WC, uniqueTypeInt, false );
+ IN_INPUT_PULL_WV, IN_INPUT_PULL_WV, uniqueTypeInt, false );
initFunction( uniqueTypeStr, streamObj, "push",
IN_INPUT_PUSH_WV, IN_INPUT_PUSH_WV, uniqueTypeAny, false );
initFunction( uniqueTypeStr, streamObj, "push_ignore",