[GRASS5] Commit sql parser patch, please

Paul Kelly paul-grass at stjohnspoint.co.uk
Mon Jul 4 17:21:58 EDT 2005


Glynn Clements wrote:
> Daniel Calvelo Aros wrote:
> 
> 
>>Could anyone with CVS write acces commit Glynn's latest patch for the sql
>>parser? Paul? Glynn? I attach it here so you don't have to seek through past
>>emails. 
> 
> 
> Done.

The change to the Makefile (see below) seems to stop y.tab.h being 
generated (on Cygwin anyway, and compilation then fails in that 
directory). No idea why.

Index: Makefile
===================================================================
RCS file: /grassrepository/grass51/lib/db/sqlp/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile	19 May 2004 14:02:05 -0000	1.5
+++ Makefile	1 Jul 2005 17:51:34 -0000	1.6
@@ -16,10 +16,10 @@
  default: lib
  	$(MKDIR) $(GISBASE)/docs/html
  	$(INSTALL) -m 644 description.html $(GISBASE)/docs/html/sql.html
-
-y.tab.c: yac.y
+
+y.tab.c y.tab.h: yac.y
  	$(YACC) -d -v yac.y

-lex.yy.c: lex.l y.tab.c
+lex.yy.c: lex.l
  	$(LEX) lex.l




More information about the grass-dev mailing list