r.mapcalc compile trouble - was Re: [GRASS5] I18N for GRASS: continued discussion
Glynn Clements
glynn.clements at virgin.net
Wed Nov 20 00:57:53 EST 2002
Scott W Mitchell wrote:
> > AFAICT, the problem is that the previous rule isn't terminated with a
> > semicolon. It appears that my version of bison[1] doesn't care about
> > this, but yours does.
>
> Great, that fixed it, thanks. Now I get the same kind of error for
> r.weight, and to fix it, following your model, I had to add semicolons
> as you did to all the rules in the first ~250 lines - then it compiled
> fine.
Right; I'll fix that too.
> > [1] Not only my version, but that of everyone else who has compiled
> > any version of GRASS since at least -pre4; byacc (Berkeley yacc)
> > doesn't care either.
>
> Yeah, my other systems are compiling this fine too. This one, however,
> has:
> bouteloua:/usr/local/src/grass> bison --version
> bison (GNU Bison) 1.75
> Written by Robert Corbett and Richard Stallman.
>
> It's installed by the "testing" release of Debian, so perhaps it's
> "coming soon" to all sorts of releases, I dunno... I checked, but
> don't see anything in the man page re: this issue changing, and all I
> see in the info pages is that sure enough they want a semi-colon at the
> end of each rule.
Yep; it's odd that neither byacc nor (earlier version of) bison even
generate a warning.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list