Re: pkg/56336 (m4 fails to build on Solaris 10)

2021-10-26 Thread 箱山洋
Dear m4 developers, I found a bug of m4-1.4.19 on Solaris 10 (SPARC), so I sent a bug report to pkgsrc (http://gnats.netbsd.org/56336). The message says: ./m4: internal error detected; please report this bug to : Illegal instruction So, I also forward the bug report to bug-m4. Best regards,

Re: traceon does not work with a macro whose name is the empty string

2021-10-26 Thread 4dr14n31t0r Th3 G4m3r
I tried the same with another macro instead of the one with empty name and, as you said, traceon does not trace the macros expanded through indir so yeah, I agree with you. I just tried with the empty macro and didn't think too much about it. Regarding the development of a patch, I think I pass. H

Re: Bug in dumpdef's documentation

2021-10-26 Thread Eric Blake
On Tue, Oct 26, 2021 at 07:45:06PM +0200, Patrice Dumas wrote: > > @c @tabchar{} > > @c -- > > @c The testsuite expects literal tab output in some examples, but > > @c literal tabs in texinfo lead to formatting issues. > > @macro tabchar > > @ @c > > @end macro > > > > So maybe the p

Re: Bug in dumpdef's documentation

2021-10-26 Thread Patrice Dumas
On Tue, Oct 26, 2021 at 11:21:39AM -0500, Eric Blake wrote: > On Tue, Oct 26, 2021 at 02:30:26AM +0200, 4dr14n31t0r Th3 G4m3r wrote: > > The output documented is not what you get from executing the m4 commands as > > documented. See https://www.gnu.org/software/m4/manual/m4.html#Dumpdef > > Thanks

Re: traceon does not work with a macro whose name is the empty string

2021-10-26 Thread Eric Blake
On Tue, Oct 26, 2021 at 03:02:31AM +0200, 4dr14n31t0r Th3 G4m3r wrote: > This m4 script does not show the trace for the macro whose name is the > empty string: > > changequote([,]) > define([],[Hello world]) > traceon([]) > indir([]) There's nothing special about the macro with the empty name. t

Re: Bug in dumpdef's documentation

2021-10-26 Thread Eric Blake
On Tue, Oct 26, 2021 at 02:30:26AM +0200, 4dr14n31t0r Th3 G4m3r wrote: > The output documented is not what you get from executing the m4 commands as > documented. See https://www.gnu.org/software/m4/manual/m4.html#Dumpdef Thanks for the report. More details would have been nice (what you think wa