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

Stephan Bergmann sbergman at redhat.com
Thu Sep 3 01:10:40 PDT 2015


 connectivity/source/parse/sqlbison.y |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

New commits:
commit 32b6f11132dec25212f6ed6df4c2aa2419ebb065
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 3 10:07:43 2015 +0200

    warning: nonterminal usesless in grammar
    
    ...ever since its use got removed in 17e1d9f46d7957b7ec54943122ddd5fbace19ab8
    "INTEGRATION: CWS oj4"
    
    Change-Id: I6494e11bb162d4c4bb880a6c4f9ece01331975dd

diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index 2808cbb..11143de 100644
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -225,7 +225,7 @@ using namespace connectivity;
 %type <pParseNode> cast_operand cast_target factor datetime_value_exp /*interval_value_exp*/ datetime_term datetime_factor
 %type <pParseNode> datetime_primary datetime_value_fct time_zone time_zone_specifier /*interval_term*/ interval_qualifier
 %type <pParseNode> start_field non_second_datetime_field end_field single_datetime_field extract_field datetime_field time_zone_field
-%type <pParseNode> extract_source char_length_exp octet_length_exp bit_length_exp select_sublist string_value_exp
+%type <pParseNode> char_length_exp octet_length_exp bit_length_exp select_sublist string_value_exp
 %type <pParseNode> char_value_exp concatenation char_factor char_primary string_value_fct char_substring_fct fold
 %type <pParseNode> form_conversion char_translation trim_fct trim_operands trim_spec bit_value_fct bit_substring_fct op_column_commalist
 %type <pParseNode> /*bit_concatenation*/ bit_value_exp bit_factor bit_primary collate_clause char_value_fct unique_spec value_exp_commalist in_predicate_value unique_test update_source
@@ -1764,18 +1764,6 @@ time_zone_field:
 			$$->append($1);
 		}
 	;
-extract_source:
-		datetime_value_exp
-		{
-			$$ = SQL_NEW_RULE;
-			$$->append($1);
-		}
-/*      | interval_value_exp
-		{
-			$$ = SQL_NEW_RULE;
-			$$->append($1);
-		} */
-	;
 extract_exp:
 		SQL_TOKEN_EXTRACT '(' extract_field SQL_TOKEN_FROM value_exp ')'
 		{


More information about the Libreoffice-commits mailing list