On 17/11/2025 20:24, Collin Funk wrote:
Pádraig Brady <[email protected]> writes:
On 17/11/2025 04:23, Collin Funk wrote:
@@ -724,7 +722,6 @@ digest_word_file (char const *file_name, WORD_TABLE *table)
static void
find_occurs_in_text (int file_index)
{
- char *cursor; /* for scanning the source text */
char *scan; /* for scanning the source text also */
Cool. Was the change automated with something like coccinelle etc.?
One small s/ also// tweak in the last comment here would be good.
Otherwise +1
It was done by hand, unfortunately.
Can coccinelle do this automatically? I have never used it.
Well I've never used coccinelle in earnest actually.
It seemed like it might have been potentially useful
the last time I looked at doing something like this.
Anyway I was just worried I was missing some new tool :)
cheers,
Padraig