[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann sbergman at redhat.com
Thu Sep 3 01:06:14 PDT 2015


 connectivity/source/parse/sqlbison.y |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit d8bf4491b15dab47223200b4c04ac4b3f17aebd2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 3 10:05:37 2015 +0200

    warning: nonterminal usesless in grammar
    
    Change-Id: I97f3fb5cf62a68460157b2302a84d56a1417d376

diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index f65601a..2808cbb 100644
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -219,7 +219,7 @@ using namespace connectivity;
 %type <pParseNode> position_exp extract_exp length_exp general_value_spec
 %type <pParseNode> general_set_fct set_fct_type query_exp non_join_query_exp joined_table
 %type <pParseNode> non_join_query_term non_join_query_primary simple_table
-%type <pParseNode> table_value_const_list row_value_constructor row_value_const_list row_value_constructor_elem
+%type <pParseNode> table_value_const_list row_value_constructor /*row_value_const_list*/ row_value_constructor_elem
 %type <pParseNode> qualified_join value_exp query_term join_type outer_join_type join_condition boolean_term
 %type <pParseNode> boolean_factor boolean_primary named_columns_join join_spec
 %type <pParseNode> cast_operand cast_target factor datetime_value_exp /*interval_value_exp*/ datetime_term datetime_factor
@@ -747,6 +747,7 @@ table_value_const_list:
 			{$1->append($3);
 			$$ = $1;}
 	;
+/*
 row_value_const_list:
 			row_value_constructor_elem
 			{$$ = SQL_NEW_COMMALISTRULE;
@@ -755,6 +756,7 @@ row_value_const_list:
 			{$1->append($3);
 			$$ = $1;}
 	;
+*/
 row_value_constructor:
 			row_value_constructor_elem
 /*	  |		'(' row_value_const_list ')'


More information about the Libreoffice-commits mailing list