summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-05-14 14:07:08 -0400
committerAdrian Thurston <thurston@colm.net>2018-05-14 14:07:08 -0400
commit88e3f4e46bfa71fe1b7a99b9594a6d2ccf1369d5 (patch)
tree255bd45d676d58319cabbe6dd9d1a5d0c7c2f0d0
parent800cf82ad7f7ea638cffe5a3e7a2ad70dd01e791 (diff)
downloadcolm-88e3f4e46bfa71fe1b7a99b9594a6d2ccf1369d5.tar.gz
don't TRIM trees in parse and embed-string
makes these operations consistent with send
-rw-r--r--src/synthesis.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synthesis.cc b/src/synthesis.cc
index bbd6c2ab..01f8c079 100644
--- a/src/synthesis.cc
+++ b/src/synthesis.cc
@@ -1582,7 +1582,7 @@ UniqueType *LangTerm::evaluateParse( Compiler *pd, CodeVect &code,
ut->langEl != pd->strLangEl && ut != pd->uniqueTypeStream )
{
/* Convert it to a string. */
- code.append( IN_TREE_TO_STR_TRIM );
+ code.append( IN_TREE_TO_STR );
}
break;
}}
@@ -1792,7 +1792,7 @@ UniqueType *LangTerm::evaluateEmbedString( Compiler *pd, CodeVect &code ) const
ut->langEl != pd->strLangEl && ut != pd->uniqueTypeStream )
{
/* Convert it to a string. */
- code.append( IN_TREE_TO_STR_TRIM );
+ code.append( IN_TREE_TO_STR );
}
break;
}}