Commit 2495a47c by Francois Gygi

Removed debug comments


git-svn-id: http://qboxcode.org/svn/qb/trunk@1766 cba15fb0-1239-40c8-b417-11db7ca47a34
parent ce5eae47
......@@ -73,16 +73,11 @@ int UserInterface::readCmd(char *s, int max, istream &fp, bool echo)
{
int ch, i = 0;
if ( fp.eof() )
{
//!!
cout << "early return" << endl;
return 0;
}
while ( !fp.eof() && !( ch == '\n' || ch ==';' || ch == '#') )
{
ch = fp.get();
//!!
//!!cout << (char)ch;
if ( ch == '\\' ) // line continuation character
{
// check if backslash is followed by a newline
......@@ -163,9 +158,6 @@ void UserInterface::processCmds ( istream &cmdstream, const char *prompt,
MPI_Bcast(&cmd_read,1,MPI_INT,0,MPI_COMM_WORLD);
#endif
//!!
//!!cout << "cmd_read=" << cmd_read << endl;
if ( cmd_read )
{
// cmdline contains a string of tokens terminated by '\0'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment