mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Partial pgindent of .l and .y files
Trying to clean up the code a bit while we're working on these files for the reentrant scanner/pure parser patches. This cleanup only touches the code sections after the second '%%' in each file, via a manually-supervised and locally hacked up pgindent.
This commit is contained in:
@@ -1317,7 +1317,7 @@ bool
|
||||
psql_scan_in_quote(PsqlScanState state)
|
||||
{
|
||||
return state->start_state != INITIAL &&
|
||||
state->start_state != xqs;
|
||||
state->start_state != xqs;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1568,8 +1568,8 @@ psqlscan_escape_variable(PsqlScanState state, const char *txt, int len,
|
||||
void
|
||||
psqlscan_test_variable(PsqlScanState state, const char *txt, int len)
|
||||
{
|
||||
char *varname;
|
||||
char *value;
|
||||
char *varname;
|
||||
char *value;
|
||||
|
||||
varname = psqlscan_extract_substring(state, txt + 3, len - 4);
|
||||
if (state->callbacks->get_variable)
|
||||
|
||||
Reference in New Issue
Block a user