summaryrefslogtreecommitdiff
path: root/src/synthesis.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-05-03 22:58:12 -0400
committerAdrian Thurston <thurston@colm.net>2018-05-03 22:59:18 -0400
commit75ff607ee313d11bc8b8ce5c750aca8082ae18af (patch)
treeac50c339826bae8a9fe82e88e0ff2a72190b6ffd /src/synthesis.cc
parent25e33dd5a8d412fd4f60950ee52fbee892ef97f2 (diff)
downloadcolm-75ff607ee313d11bc8b8ce5c750aca8082ae18af.tar.gz
removed a couple downrefs of parsers and streams
These were left over from the when these structures were trees and not the current incarnation of structs (plain values). Fixex a bug reported a several times. refs #247. http://www.colm.net/pipermail/colm-users/2018-April/000187.html http://www.colm.net/pipermail/colm-users/2017-June/000175.html
Diffstat (limited to 'src/synthesis.cc')
-rw-r--r--src/synthesis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synthesis.cc b/src/synthesis.cc
index 1314b49f..a54719de 100644
--- a/src/synthesis.cc
+++ b/src/synthesis.cc
@@ -2642,7 +2642,7 @@ void LangStmt::compile( Compiler *pd, CodeVect &code ) const
code.append( IN_GET_CONST );
code.appendHalf( IN_CONST_STDOUT );
consItemList->evaluateSendStream( pd, code );
- code.append( IN_POP_TREE );
+ code.append( IN_POP_VAL );
break;
}
case ExprType: {