On Wed, Apr 02, 2025 at 05:28:38PM -0500, Eric Blake via M4-patches wrote:
> In many cases, the length of a macro name was previously learned; no
> need to repeat the effort on a strlen.
>
> @@ -411,9 +420,10 @@ symtab_print_list (int i)
> for (h = 0; h < hash_table_size; h++)
> for (bucket = symtab[h]; bucket != NULL; bucket = bucket->next)
> for (sym = bucket; sym; sym = sym->stack)
> - xprintf ("\tname %s, hash %lu, bucket %lu, addr %p, stack %p, "
> + xprintf ("\tname %s, len %i, hash %lu, bucket %lu, addr %p, stack
> %p, "
> "next %p, flags%s%s, pending %d\n",
'make syntax-check' complained about this being a long line. It also
complained about other things (must be a fairly new addition to
gnulib, since I haven't run things in a while); I'll push a pre-req
patch to make it accept current code, in addition to splitting this
line better.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization: qemu.org | libguestfs.org
_______________________________________________
M4-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/m4-patches