oaf/bonobo-activation bison syntax error



A missing semicolon in
bonobo-activation-1.0.3-new/server/activation-context-query-parser.y
prevents bonobo-activation-1.0.3 from building on systems with
bison-1.75 installed.  This small patch corrects it:

--- server/activation-context-query-parser.y	2001-11-21 23:53:22.000000000 -0500
+++ ../bonobo-activation-1.0.3-new/server/activation-context-query-parser.y	2002-11-18 11:26:26.000000000 -0500
@@ -155,7 +155,7 @@
 stringlist: P_CONST_STRING { $$ = g_slist_prepend (NULL, $1); }
 	| stringlist COMMA P_CONST_STRING { $$ = g_slist_append ($1, $3); };
 
-expr_variable: P_DOLLAR P_CONST_ID { $$ = qexp_variable_new ($2); }
+expr_variable: P_DOLLAR P_CONST_ID { $$ = qexp_variable_new ($2); };
 
 expr_function: P_CONST_ID LPAREN exprlist RPAREN { $$ = qexp_function_new ($1, $3); }
 	| P_CONST_ID LPAREN RPAREN { $$ = qexp_function_new ($1, NULL); }


A duplicate problem exists in oaf-0.6.10, due to the fact that the
grammar files are identical.  The same patch for oaf-0.6.10:

diff -Naur ./oafd/ac-query-parse.y ../oaf-0.6.10-new/oafd/ac-query-parse.y
--- ./oafd/ac-query-parse.y	2002-11-18 10:33:03.000000000 -0500
+++ ../oaf-0.6.10-new/oafd/ac-query-parse.y	2002-11-18 10:12:29.000000000 -0500
@@ -155,7 +155,7 @@
 stringlist: P_CONST_STRING { $$ = g_slist_prepend (NULL, $1); }
 	| stringlist COMMA P_CONST_STRING { $$ = g_slist_append ($1, $3); };
 
-expr_variable: P_DOLLAR P_CONST_ID { $$ = qexp_variable_new ($2); }
+expr_variable: P_DOLLAR P_CONST_ID { $$ = qexp_variable_new ($2); };
 
 expr_function: P_CONST_ID LPAREN exprlist RPAREN { $$ = qexp_function_new ($1, $3); }
 	| P_CONST_ID LPAREN RPAREN { $$ = qexp_function_new ($1, NULL); }


Humbly submitted for your approval.

--
Billy O'Connor


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