[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: more filename -> file_name gotchas
From: |
Akim Demaille |
Subject: |
Re: more filename -> file_name gotchas |
Date: |
Wed, 14 Sep 2005 18:43:57 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
>>> "Paul" == Paul Eggert <address@hidden> writes:
> My previous patch was incomplete, which caused "make check" to fail.
> That's what I get for trying to switch terminology! Anyway, I
> installed this to fix things up:
The check still fails, since in the documentation you changed some
position::filename into position::file_name. Since the example is
extracted and compiled, it doesn't work.
Also, for some reason you appeared to have changed my compilation
rules in example/calc++, which now launches bison several times
instead of a single one.
make[3]: Entering directory `/home/akim/src/bison/_build/examples/calc++'
rm -f ../../../examples/calc++/calc++-parser.stamp
make ../../../examples/calc++/calc++-parser.stamp
make[4]: Entering directory `/home/akim/src/bison/_build/examples/calc++'
../../tests/bison -d -ra -S lalr1.cc -o
../../../examples/calc++/calc++-parser.cc \
../../../examples/calc++/calc++-parser.yy
make[4]: Leaving directory `/home/akim/src/bison/_build/examples/calc++'
rm -f ../../../examples/calc++/calc++-parser.stamp
make ../../../examples/calc++/calc++-parser.stamp
make[4]: Entering directory `/home/akim/src/bison/_build/examples/calc++'
../../tests/bison -d -ra -S lalr1.cc -o
../../../examples/calc++/calc++-parser.cc \
../../../examples/calc++/calc++-parser.yy
make[4]: Leaving directory `/home/akim/src/bison/_build/examples/calc++'
rm -f ../../../examples/calc++/calc++-parser.stamp
make ../../../examples/calc++/calc++-parser.stamp
make[4]: Entering directory `/home/akim/src/bison/_build/examples/calc++'
../../tests/bison -d -ra -S lalr1.cc -o
../../../examples/calc++/calc++-parser.cc \
../../../examples/calc++/calc++-parser.yy
make[4]: Leaving directory `/home/akim/src/bison/_build/examples/calc++'
make all-am
make[4]: Entering directory `/home/akim/src/bison/_build/examples/calc++'
rm -f ../../../examples/calc++/calc++-parser.stamp
make ../../../examples/calc++/calc++-parser.stamp
make[5]: Entering directory `/home/akim/src/bison/_build/examples/calc++'
../../tests/bison -d -ra -S lalr1.cc -o
../../../examples/calc++/calc++-parser.cc \
../../../examples/calc++/calc++-parser.yy
make[5]: Leaving directory `/home/akim/src/bison/_build/examples/calc++'
rm -f ../../../examples/calc++/calc++-parser.stamp
make ../../../examples/calc++/calc++-parser.stamp
make[5]: Entering directory `/home/akim/src/bison/_build/examples/calc++'
../../tests/bison -d -ra -S lalr1.cc -o
../../../examples/calc++/calc++-parser.cc \
../../../examples/calc++/calc++-parser.yy
make[5]: Leaving directory `/home/akim/src/bison/_build/examples/calc++'
rm -f ../../../examples/calc++/calc++-parser.stamp
make ../../../examples/calc++/calc++-parser.stamp
make[5]: Entering directory `/home/akim/src/bison/_build/examples/calc++'
../../tests/bison -d -ra -S lalr1.cc -o
../../../examples/calc++/calc++-parser.cc \
../../../examples/calc++/calc++-parser.yy
make[5]: Leaving directory `/home/akim/src/bison/_build/examples/calc++'
if g++ -DHAVE_CONFIG_H -I. -I../../../examples/calc++ -I../.. -g -O2 -MT
calc++-scanner.o -MD -MP -MF ".deps/calc++-scanner.Tpo" -c -o calc++-scanner.o
calc++-scanner.cc; \
then mv -f ".deps/calc++-scanner.Tpo" ".deps/calc++-scanner.Po"; else rm -f
".deps/calc++-scanner.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I../../../examples/calc++ -I../.. -g -O2 -MT
calc++-driver.o -MD -MP -MF ".deps/calc++-driver.Tpo" -c -o calc++-driver.o
`test -f '../../../examples/calc++/calc++-driver.cc' || echo
'../../../examples/calc++/'`../../../examples/calc++/calc++-driver.cc; \
then mv -f ".deps/calc++-driver.Tpo" ".deps/calc++-driver.Po"; else rm -f
".deps/calc++-driver.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I../../../examples/calc++ -I../.. -g -O2 -MT
calc++-parser.o -MD -MP -MF ".deps/calc++-parser.Tpo" -c -o calc++-parser.o
`test -f '../../../examples/calc++/calc++-parser.cc' || echo
'../../../examples/calc++/'`../../../examples/calc++/calc++-parser.cc; \
then mv -f ".deps/calc++-parser.Tpo" ".deps/calc++-parser.Po"; else rm -f
".deps/calc++-parser.Tpo"; exit 1; fi
../../doc/bison.texinfo: In member function 'virtual int
yy::calcxx_parser::parse()':
../../doc/bison.texinfo:7326: error: 'class yy::position' has no member named
'file_name'
../../doc/bison.texinfo:7326: error: 'class yy::position' has no member named
'file_name'
make[4]: *** [calc++-parser.o] Error 1