Skip to content

Commit

Permalink
Per #2609, delete stale commented out debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Sep 22, 2023
1 parent b690fd6 commit 9cc49c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
5 changes: 0 additions & 5 deletions src/basic/vx_config/config_scanner.ll
Original file line number Diff line number Diff line change
Expand Up @@ -525,11 +525,6 @@ const DictionaryEntry * e = dict_stack->lookup(configtext);
if ( e && (e->is_number()) && (! is_lhs) ) {
// cout << "=================== id = \"" << configtext << "\" is_lhs = " << (is_lhs ? "true" : "false") << "\n";
// cout << "do_id() -> \n";
// e->dump(cout);
if ( e->type() == IntegerType ) {
set_int(configlval.nval, e->i_value());
Expand Down
25 changes: 0 additions & 25 deletions src/basic/vx_config/my_config_scanner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,19 +196,10 @@ while ( 1 ) {

if ( t < 0 ) continue;

// cout << "next\n";

if ( t > 0 ) break;

} // while


// cout << "\n\n my configlex() -> returned token " << t;
//
// if ( lexeme[0] ) cout << " ... \"" << lexeme << "\" LineNumber = " << LineNumber;
//
// cout << "\n\n" << flush;

return t;

}
Expand All @@ -233,8 +224,6 @@ while ( 1 ) {

if ( c < 0 ) c += 256;

// cout << "c = " << c << " (" << (char) c << ") ... LineNumber = " << LineNumber << ", Column = " << Column << "\n" << flush;

if ( c == eof ) break;

if ( char_class[c] != char_class_space ) break;
Expand Down Expand Up @@ -782,8 +771,6 @@ if ( (pos > 0) && (lexeme[pos - 1] == '\"') ) { lexeme[pos - 1] = (char) 0; --

while ( replace_env(s) ) {

// cout << "s = \"" << s << "\"\n\n" << flush;

}

if ( s.length() >= max_id_length ) {
Expand Down Expand Up @@ -1098,11 +1085,6 @@ int token(int t)

{

// cout << "token " << t << " ... text = ";
// if ( (configtext != 0) && (configtext[0] != 0) ) cout << '\"' << configtext << "\"\n";
// else cout << "(nul)\n";
// cout.flush();

return t;

}
Expand All @@ -1115,8 +1097,6 @@ int do_comp()

{

// if ( verbose ) cout << "\n\n ... in do_comp()\n\n" << flush;

int return_value = 0;

Column += m_strlen(configtext);
Expand Down Expand Up @@ -1394,11 +1374,6 @@ out += tmp_env_value;

out += s.substr(pos2 + 1);


// cout << "\n\n out = \"" << (out.c_str()) << "\n\n" << flush;



//
// done
//
Expand Down

0 comments on commit 9cc49c5

Please sign in to comment.