summaryrefslogtreecommitdiff
path: root/src/backend/replication/repl_scanner.l
diff options
context:
space:
mode:
authorPeter Eisentraut2022-05-13 05:17:29 +0000
committerPeter Eisentraut2022-05-13 05:17:29 +0000
commit30ed71e423ee63b263730b86326da2a629a29f84 (patch)
treea9a45b929b38cbef8f99d05da6419ef2e56b5781 /src/backend/replication/repl_scanner.l
parent0cf16cb8ca4853b084c40eca310c4c9c3ebf7e2a (diff)
Indent C code in flex and bison files
In the style of pgindent, done semi-manually. Discussion: https://www.postgresql.org/message-id/flat/7d062ecc-7444-23ec-a159-acd8adf9b586%40enterprisedb.com
Diffstat (limited to 'src/backend/replication/repl_scanner.l')
-rw-r--r--src/backend/replication/repl_scanner.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/replication/repl_scanner.l b/src/backend/replication/repl_scanner.l
index 4b64c0d768b..586f0d3a5c8 100644
--- a/src/backend/replication/repl_scanner.l
+++ b/src/backend/replication/repl_scanner.l
@@ -169,7 +169,8 @@ WAIT { return K_WAIT; }
}
<xd>{xdstop} {
- int len;
+ int len;
+
yyless(1);
BEGIN(INITIAL);
yylval.str = litbufdup();
@@ -183,7 +184,7 @@ WAIT { return K_WAIT; }
}
{identifier} {
- int len = strlen(yytext);
+ int len = strlen(yytext);
yylval.str = downcase_truncate_identifier(yytext, len, true);
return IDENT;