summaryrefslogtreecommitdiff
path: root/colm/synthesis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'colm/synthesis.cc')
-rw-r--r--colm/synthesis.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/colm/synthesis.cc b/colm/synthesis.cc
index ffa89993..2ca12f48 100644
--- a/colm/synthesis.cc
+++ b/colm/synthesis.cc
@@ -1586,6 +1586,22 @@ UniqueType *LangTerm::evaluateSend( Compiler *pd, CodeVect &code ) const
parseFrag( pd, code, 0 );
}
+ if ( eof ) {
+ code.append( IN_PARSE_SAVE_STEPS );
+ if ( pd->revertOn ) {
+ code.append( IN_PARSE_FINISH_WV );
+ code.appendHalf( 0 );
+ code.append( IN_PCR_CALL );
+ code.append( IN_PARSE_FINISH_EXIT_WV );
+ }
+ else {
+ code.append( IN_PARSE_FINISH_WC );
+ code.appendHalf( 0 );
+ code.append( IN_PCR_CALL );
+ code.append( IN_PARSE_FINISH_EXIT_WC );
+ }
+ }
+
return varUt;
}