Make some indentation in gram.y consistent
authorPeter Eisentraut <[email protected]>
Sat, 8 Jul 2023 13:50:35 +0000 (15:50 +0200)
committerPeter Eisentraut <[email protected]>
Sat, 8 Jul 2023 13:56:01 +0000 (15:56 +0200)
Reviewed-by: Amit Langote <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/CA+HiwqE4XTdfb1nW=Ojoy_tQSRhYt-q_kb6i5d4xcKyrLC1Nbg@mail.gmail.com

src/backend/parser/gram.y

index 39ab7eac0d1d1ac0bea5e40c49c04ceeb7772425..edb6c00ece6294edb6c7db384a73505cffb372c1 100644 (file)
@@ -645,23 +645,20 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
 %type <list>       hash_partbound
 %type <defelt>     hash_partbound_elem
 
+%type <node>   json_format_clause_opt
+               json_value_expr
+               json_output_clause_opt
+               json_name_and_value
+               json_aggregate_func
+%type <list>   json_name_and_value_list
+               json_value_expr_list
+               json_array_aggregate_order_by_clause_opt
+%type <ival>   json_encoding_clause_opt
+               json_predicate_type_constraint
+%type <boolean>    json_key_uniqueness_constraint_opt
+               json_object_constructor_null_clause_opt
+               json_array_constructor_null_clause_opt
 
-%type <node>       json_format_clause_opt
-                   json_value_expr
-                   json_output_clause_opt
-                   json_name_and_value
-                   json_aggregate_func
-
-%type <list>       json_name_and_value_list
-                   json_value_expr_list
-                   json_array_aggregate_order_by_clause_opt
-
-%type <ival>       json_encoding_clause_opt
-                   json_predicate_type_constraint
-
-%type <boolean>        json_key_uniqueness_constraint_opt
-                   json_object_constructor_null_clause_opt
-                   json_array_constructor_null_clause_opt
 
 /*
  * Non-keyword token types.  These are hard-wired into the "flex" lexer.