From 20be69b4ebb10533f8cb38b2587dae3c9e58f2b1 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Wed, 22 Jan 2014 22:01:33 -0500 Subject: allow make_tree anywhere --- src/synthesis.cc | 4 ++-- 1 file 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; -- cgit v1.2.1