Re: [gnome-db] libgda problem



El s?, 02-08-2003 a las 19:25, snpe escribió:
> I do next (again) :
> export CVSROOT=:pserver:anonymous anoncvs gnome org:/cvs/gnome
> rm -rf libgda
> cvs co libgda
> // release for sql_parser.h is 1.3
> cd libgda
> ./autogen.sh --prefix=/u1/gnome2
> make
> 
> and error is here

Can you please try this patch? If it works for you, i'll commit.

-Gonzalo
Index: lexer.l
===================================================================
RCS file: /cvs/gnome/libgda/libsql/lexer.l,v
retrieving revision 1.2
diff -u -r1.2 lexer.l
--- lexer.l	24 Jul 2003 01:00:02 -0000	1.2
+++ lexer.l	2 Aug 2003 15:52:57 -0000
@@ -35,7 +35,7 @@
 "as"		{return L_AS;}
 "join"		{return L_JOIN;}
 "like"		{return L_LIKE;}
-"set"			{return L_SET;}
+"set"			{return LL_SET;}
 "on"		{return L_ON;}
 "by"		{return L_BY;}
 "in"		{return L_IN;}
Index: parser.y
===================================================================
RCS file: /cvs/gnome/libgda/libsql/parser.y,v
retrieving revision 1.3
diff -u -r1.3 parser.y
--- parser.y	24 Jul 2003 01:00:02 -0000	1.3
+++ parser.y	2 Aug 2003 15:52:58 -0000
@@ -27,7 +27,7 @@
 }
 
 %token L_SELECT L_FROM L_WHERE L_AS L_JOIN L_ON L_ORDER L_BY 
-%token L_DISTINCT L_BETWEEN L_IN L_GROUP L_INSERT L_INTO L_VALUES L_UPDATE L_SET
+%token L_DISTINCT L_BETWEEN L_IN L_GROUP L_INSERT L_INTO L_VALUES L_UPDATE LL_SET
 %token L_DOT L_STAR L_COMMA L_NULL L_LBRACKET L_RBRACKET
 %token L_IDENT
 %token L_EQ L_IS L_LIKE
@@ -65,7 +65,7 @@
 			{$$ = sql_insert_statement_build ($3, $4, $7);}
 	;
 
-update_statement: L_UPDATE table L_SET set_list opt_where
+update_statement: L_UPDATE table LL_SET set_list opt_where
 			{$$ = sql_update_statement_build ($2, $4, $5);}
 			;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]