This one is another yacc related problem. Here's the output.
yacc -v -d gis_pars.y
gis_pars.y:205: type clash (`' `int_val') on default action
gis_pars.y:243: type clash (`' `int_val') on default action
make[2]: *** [gis_pars.c] Error 1
make[2]: Leaving directory `/usr/local/src/grass5.0beta/src/raster/r.weight/inter'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/grass5.0beta/src/raster/r.weight'
GISGEN failure at STEP: src/raster/r.weight
make: *** [do-install] Error 1
I took a look at gis_pars.y. Nothing stood out. But, this yacc stuff
is pretty greek to me.
--
Eric G. Miller
Powered by the POTATO (http://www.debian.org)!
On Sat, Jul 31, 1999 at 02:02:29PM -0700, egm2@jps.net wrote:
gis_pars.y:205: type clash (`' `int_val') on default action
change the line to:
quit_expr: QUIT_TKN LINE_TKN { ; }
gis_pars.y:243: type clash (`' `int_val') on default action
change the line to:
null_expr: LINE_TKN { ; }
I took a look at gis_pars.y. Nothing stood out. But, this yacc stuff
is pretty greek to me.
It took me a while to figure those ones out. I think it might be a bug (feature?) in GNU bison with empty rules.
--Jack
The full potentialities of human fury cannot be reached until a friend
of both parties tactfully interferes.
-- G.K. Chesterton
====-=-==== Jack (John) Cummings == cummings@nyquist.ee.ualberta.ca ====-=-====
========== for pgp public key --- finger the above address, and pray ==========
On 31 Jul, Jack Cummings wrote:
| On Sat, Jul 31, 1999 at 02:02:29PM -0700, egm2@jps.net wrote:
|
| > gis_pars.y:205: type clash (`' `int_val') on default action
|
| change the line to:
| quit_expr: QUIT_TKN LINE_TKN { ; }
|
| > gis_pars.y:243: type clash (`' `int_val') on default action
|
| change the line to:
| null_expr: LINE_TKN { ; }
|
| > I took a look at gis_pars.y. Nothing stood out. But, this yacc stuff
| > is pretty greek to me.
|
| It took me a while to figure those ones out. I think it might be a bug (feature?) in GNU bison with empty rules.
|
| --Jack
That seemed to work. It wouldn't suprise me that bison doesn't behave
like yacc even when called as yacc (exec bison -y "$@"). And, hoorah!
everything is successfully compiled now.
--
Eric G. Miller
Powered by the POTATO (http://www.debian.org)!