Mercurial > octave-libgccjit
comparison libinterp/corefcn/toplev.cc @ 18638:4ccd2b473f84
Print newline after closing interpreter with EOF (bug #41513).
* toplev.cc (main_loop): Print newline when exiting interpreter.
author | Vaibhav Gupta <vaibhav.gupta@students.iiit.ac.in> |
---|---|
date | Mon, 07 Apr 2014 07:50:10 -0700 |
parents | bc31d9359cf9 |
children | fc43c8017e9b |
comparison
equal
deleted
inserted
replaced
18637:2631484789cf | 18638:4ccd2b473f84 |
---|---|
649 std::cerr << "error: out of memory -- trying to return to prompt" | 649 std::cerr << "error: out of memory -- trying to return to prompt" |
650 << std::endl; | 650 << std::endl; |
651 } | 651 } |
652 } | 652 } |
653 while (retval == 0); | 653 while (retval == 0); |
654 | |
655 octave_stdout << "\n"; | |
654 | 656 |
655 if (retval == EOF) | 657 if (retval == EOF) |
656 retval = 0; | 658 retval = 0; |
657 | 659 |
658 return retval; | 660 return retval; |