Skip to content

Commit

Permalink
attempted fix for #68
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Apr 17, 2023
1 parent 39c00e7 commit c900783
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/FoLiA-txt.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ using namespace folia;

string setname = "FoLiA-txt-set";
string classname = "FoLiA-txt";
string processor_id;

void usage(){
cerr << "Usage: [options] file/dir" << endl;
Expand Down Expand Up @@ -219,7 +218,7 @@ int main( int argc, char *argv[] ){
continue;
}
processor *proc = add_provenance( *d, "FoLiA-txt", command );
processor_id = proc->id();
string processor_id = proc->id();
KWargs p_args;
p_args["processor"] = processor_id;
d->declare( folia::AnnotationType::STRING, setname, p_args );
Expand Down Expand Up @@ -336,9 +335,9 @@ int main( int argc, char *argv[] ){
continue;
}
string outname = outputDir + nameNoExt + ".folia.xml";
d->save( outname );
#pragma omp critical
{
d->save( outname );
cout << "Processed: " << fileName << " into " << outname
<< " still " << --to_do << " files to go." << endl;
}
Expand Down

0 comments on commit c900783

Please sign in to comment.