summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-01-22 22:01:33 -0500
committerAdrian Thurston <thurston@complang.org>2014-01-22 22:01:33 -0500
commit20be69b4ebb10533f8cb38b2587dae3c9e58f2b1 (patch)
tree57eb18811bb253e6fde10c7638b735a733fe0b03
parent9642974faf3a2c57a549cbe6e6174e19d5dab89e (diff)
downloadcolm-20be69b4ebb10533f8cb38b2587dae3c9e58f2b1.tar.gz
allow make_tree anywhere
-rw-r--r--src/synthesis.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synthesis.cc b/src/synthesis.cc
index ac77b4b0..d221557d 100644
--- a/src/synthesis.cc
+++ b/src/synthesis.cc
@@ -1895,8 +1895,8 @@ UniqueType *LangTerm::evaluateMakeTree( Compiler *pd, CodeVect &code ) const
long stretch = args->length() + 2;
bool resetContiguous = pd->beginContiguous( code, stretch );
- if ( pd->compileContext != Compiler::CompileTranslation )
- error(loc) << "make_tree can be used only in a translation block" << endp;
+// if ( pd->compileContext != Compiler::CompileTranslation )
+// error(loc) << "make_tree can be used only in a translation block" << endp;
/* Match the number of arguments. */
int numArgs = args != 0 ? args->length() : 0;