From: Globe T. <its...@ya...> - 2019-03-04 12:59:25
|
On Sunday, March 3, 2019, 4:07:59 AM CST, Ralph Corderoy <ra...@in...> wrote: Hi Globe, > /bin/sh ./ylwrap rcfile_y.y y.tab.c rcfile_y.c y.tab.h `echo rcfile_y.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output rcfile_y.output -- yacc -d > yacc: e - line 85 of "/home/Downloads/fetchmail-git-78304ad9cb94fb3baa50819f2d529937f5f0052e/rcfile_y.y", syntax error > %destructor { free ($$); } STRING > ^ > make: *** [Makefile:1282: rcfile_y.c] Error 1 > > What is the syntax error from? How do I fix it? It's from yacc(1), which may be provided by bison(1) on your system. I'm guessing `%destructor' is not understood by your yacc or bison. -- Cheers, Ralph. Ralph, Thanks! How do I fix it? Best wishes. |