Skip to content

Commit

Permalink
skip a warning when using passthru
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Apr 23, 2024
1 parent a9cfa40 commit f1378d0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/tokenize.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -534,10 +534,13 @@ namespace Tokenizer {
<< "Multiple 'ucto' processors have already been run?" << endl;
exit( EXIT_FAILURE );
}
// ucto has been used one before, we can't do it complettely over again!
LOG << "Difficult to tokenize '" << doc->filename()
<< "' again, already processed by ucto before!" << endl;
LOG << " The document will be copied as-is to the output file" << endl;
// ucto has been used one before, we can't do it completely over again!
if ( !passthru ){
// but we probably knew it
LOG << "Difficult to tokenize '" << doc->filename()
<< "' again, already processed by ucto before!" << endl;
LOG << " The document will be copied as-is to the output file" << endl;
}
already_tokenized = true;
return procs[0];
}
Expand Down

0 comments on commit f1378d0

Please sign in to comment.