On 5/25/19 10:25 AM, uxio prego wrote:
Hi,
On 25 May 2019, at 16:11, Dennis Clarke <[email protected]> wrote:
[...]
FAIL: examples/c++/variant-11
=============================
./examples/test: syntax error at line 21: `me=$' unexpected
FAIL examples/c++/variant-11.test (exit status: 2)
corv $
Some sort of weird me=$ thing there.
This is because I used $(...) in these tests, which exists only in not too
ancient shells.
Replacing all the $(...) by `...` in examples/test should address the issue.
Nope. There are no three dots in that file.
The three dots must be an example place holder.
http://git.savannah.gnu.org/cgit/bison.git/tree/examples/test?h=aa21c457#n21
me=`basename "$1" .test`
http://git.savannah.gnu.org/cgit/bison.git/commit/examples/test?h=a4dce889a4
Here seems it was already included in the 3.3 tag:
https://github.com/akimd/bison/commit/a4dce889a44a7d363ce670585704876857543a5e
Well. I have to shrug. Working to get anything running on Solaris 10 is
a waste of time at this point. I have bison 3.3.2 and that should
suffice :
corv # uname -a
SunOS corv 5.10 Generic_150400-65 sun4u sparc SUNW,SPARC-Enterprise
corv # /usr/local/bin/bison --version
bison (GNU Bison) 3.3.2
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
corv #
corv # exit
corv console login:
Dennis