Error#5 compiling Grass5.0beta2

egm2 at jps.net egm2 at jps.net
Sat Jul 31 17:38:51 EDT 1999


On 31 Jul, Jack Cummings wrote:
  |  On Sat, Jul 31, 1999 at 02:02:29PM -0700, egm2 at 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)!



More information about the grass-user mailing list