Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9aa8268

Browse files
committed
Fix some nonstandard C code indentation in grammar file
1 parent be850f1 commit 9aa8268

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

src/backend/parser/gram.y

+22-22
Original file line numberDiff line numberDiff line change
@@ -3672,14 +3672,14 @@ ColConstraintElem:
36723672
Constraint *n = makeNode(Constraint);
36733673
n->contype = CONSTR_FOREIGN;
36743674
n->location = @1;
3675-
n->pktable = $2;
3676-
n->fk_attrs = NIL;
3677-
n->pk_attrs = $3;
3678-
n->fk_matchtype = $4;
3679-
n->fk_upd_action = (char) ($5 >> 8);
3680-
n->fk_del_action = (char) ($5 & 0xFF);
3681-
n->skip_validation = false;
3682-
n->initially_valid = true;
3675+
n->pktable = $2;
3676+
n->fk_attrs = NIL;
3677+
n->pk_attrs = $3;
3678+
n->fk_matchtype = $4;
3679+
n->fk_upd_action = (char) ($5 >> 8);
3680+
n->fk_del_action = (char) ($5 & 0xFF);
3681+
n->skip_validation = false;
3682+
n->initially_valid = true;
36833683
$$ = (Node *)n;
36843684
}
36853685
;
@@ -3865,13 +3865,13 @@ ConstraintElem:
38653865
Constraint *n = makeNode(Constraint);
38663866
n->contype = CONSTR_EXCLUSION;
38673867
n->location = @1;
3868-
n->access_method = $2;
3869-
n->exclusions = $4;
3870-
n->including = $6;
3871-
n->options = $7;
3872-
n->indexname = NULL;
3873-
n->indexspace = $8;
3874-
n->where_clause = $9;
3868+
n->access_method = $2;
3869+
n->exclusions = $4;
3870+
n->including = $6;
3871+
n->options = $7;
3872+
n->indexname = NULL;
3873+
n->indexspace = $8;
3874+
n->where_clause = $9;
38753875
processCASbits($10, @10, "EXCLUDE",
38763876
&n->deferrable, &n->initdeferred, NULL,
38773877
NULL, yyscanner);
@@ -3883,12 +3883,12 @@ ConstraintElem:
38833883
Constraint *n = makeNode(Constraint);
38843884
n->contype = CONSTR_FOREIGN;
38853885
n->location = @1;
3886-
n->pktable = $7;
3887-
n->fk_attrs = $4;
3888-
n->pk_attrs = $8;
3889-
n->fk_matchtype = $9;
3890-
n->fk_upd_action = (char) ($10 >> 8);
3891-
n->fk_del_action = (char) ($10 & 0xFF);
3886+
n->pktable = $7;
3887+
n->fk_attrs = $4;
3888+
n->pk_attrs = $8;
3889+
n->fk_matchtype = $9;
3890+
n->fk_upd_action = (char) ($10 >> 8);
3891+
n->fk_del_action = (char) ($10 & 0xFF);
38923892
processCASbits($11, @11, "FOREIGN KEY",
38933893
&n->deferrable, &n->initdeferred,
38943894
&n->skip_validation, NULL,
@@ -5747,7 +5747,7 @@ DefineStmt:
57475747
{
57485748
CreateRangeStmt *n = makeNode(CreateRangeStmt);
57495749
n->typeName = $3;
5750-
n->params = $6;
5750+
n->params = $6;
57515751
$$ = (Node *)n;
57525752
}
57535753
| CREATE TEXT_P SEARCH PARSER any_name definition

0 commit comments

Comments
 (0)