Re: more m4p bugs

Eric Blake <[email protected]> Mon, 19 May 2025 21:02:39 -0500
Newsgroups gmane.comp.gnu.m4.general
Message-ID <rdiwpgrj6lw2u5eajyfyjhn5ug7bgi6tvdehs2hum7vyjp5fzv@75bnoet32xeo>
On Mon, May 19, 2025 at 02:36:50PM -0500, Eric Blake wrote:
> > > > > Now testing with b686ed, you have a problem with redefining a macro as
> > > > > empty if it has been undefined in the meantime:
> 
> Another cute stack trace worth fixing:

Messing around, this one has odd behavior interactively (here, using
=> on the lines I typed):

$ m4p
=>hi
hi
=>changecom(//,-)
=>what happened
=>^D

what happened

It looks like the act of setting changecom() to use a start character
longer than one byte ends up in getting the output off (the newline is
not getting echoed soon enough).

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization:  qemu.org | libguestfs.org