Skip to content

Commit

Permalink
improved Warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Feb 27, 2024
1 parent e71657e commit db09019
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/tokenize.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3152,11 +3152,11 @@ namespace Tokenizer {
return;
}
else if ( type == type_unknown ){
DBG << " Problematic character: " << UnicodeString(c)
<< " type= " << type
<< " value=" << TiCC::format_non_printable(UnicodeString(c))
<< " ?" << endl;
return;
DBG << "Warning: Problematic character encountered:"
<< " type=UNKNOWN value="
<< showbase << hex << c << " ( "
<< TiCC::format_non_printable(UnicodeString(c))
<< ")" << endl;
}
if ( doPunctFilter
&& ( type == type_punctuation || type == type_currency ||
Expand Down

0 comments on commit db09019

Please sign in to comment.