Re: [PATCH] tests: Fix test failures of Java tests on Cygwin

Collin Funk <[email protected]> Sat, 09 Aug 2025 15:51:31 -0700
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Bruno Haible via "Bug reports for Bison, the GNU parser generator"
<[email protected]> writes:

> Paul Eggert wrote:
>> For now, though, it's better not to use the undocumented var.
>
> Definitely, yes.
> The role of 'atlocal.in' is documented, so we can use that.
> as_nl is not documented, so we shouldn't use it.
>
> And probably it won't be documented, because POSIX now supports writing
> $'\n' without need for a variable [1], and while not all shells support this
> yet, those which don't ([2], column 12) will vanish over time.

+1.

Also, I assumed that the 'as_*' variables where internal implementation
details of the m4sh 'AS_*' macros and shouldn't be used.

Maybe I am wrong about that, though.

Collin