- icu_chain_token_norm(config.chain),
- icu_chain_token_display(config.chain),
- wrbuf_cstr(sw));
+ icu_chain_token_norm(p_config->chain),
+ icu_chain_token_display(p_config->chain));
+ if (p_config->sortoutput)
+ {
+ fprintf(p_config->outfile, " '%s'", wrbuf_cstr(sw));
+ }
+ if (p_config->org_output)
+ {
+ fprintf(p_config->outfile, " %ld+%ld",
+ (long) start, (long) len);
+ fputc(' ', p_config->outfile);
+ fwrite(org_string, 1, start, p_config->outfile);
+ fputc('*', p_config->outfile);
+ fwrite(org_string + start, 1, len, p_config->outfile);
+ fputc('*', p_config->outfile);
+ fputs(org_string + start + len, p_config->outfile);
+ }
+ fprintf(p_config->outfile, "\n");
+ }