[GRASS5] PATCH: sql expression parser
Glynn Clements
glynn at gclements.plus.com
Sat Jun 11 00:30:33 EDT 2005
Paul Kelly wrote:
> > However, I'm unsure about %left and ilk directives in older yaccs; could
> > anybody confirm this works in non-GNU yaccs? If so, please test this patch, it
> > is a bugfix actually.
>
> It didn't work anyway with Solaris lex and yacc, so probably not a
> problem. Below is the error (nothing to do with your changes)---a lot of
> it seems to be mis-placed comments but I'm not sure what proper lex syntax
> for this is.
>
> Paul
>
> /usr/ccs/bin/yacc -d -v yac.y
> "yac.y", line 68: warning: redeclaration of precedence of TABLE.
> "yac.y", line 69: warning: redeclaration of precedence of TABLE.
Just delete the second and third occurrences of TABLE.
> conflicts: 10 shift/reduce
> /usr/ccs/bin/lex lex.l
> "lex.l":line 75: Error: executable statements should occur right after %%
> "lex.l":line 83: Error: executable statements should occur right after %%
Delete the comments.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list