[GRASS5] PATCH: sql expression parser

Daniel Calvelo Aros dcalvelo at minag.gob.pe
Sat Jun 11 14:19:24 EDT 2005


From: Glynn Clements <glynn at gclements.plus.com>
Sent: Sat, 11 Jun 2005 05:18:25 +0100
> 
> Can you try the patch I have sent in response to your previous
> message? It explicitly refactors the grammar to use multiple "levels"
> of expression rather than relying upon yacc to handle of precedence
> and fixity.

It compiles and works under MacOSX too. To test, I use the
lib/db/sqlp/test/sqlptest command. 

I like your fixing the grammar better. However, it won't deal with AND/OR
precedence. I guess the same kind of grammar fixing for y_comparison is
required, isn't it?

Thanks.

Daniel.




More information about the grass-dev mailing list