Require closing paren on line above brace to identify function

difinition, just for formatting workaround, per Tom's discovery.
REL7_2_STABLE
Bruce Momjian 25 years ago
parent 3d5ddc0b3c
commit 8ee7c19e3c
  1. 5
      src/tools/pgindent/pgindent

@ -51,8 +51,9 @@ do
line1 !~ "^struct" &&
line1 !~ "^enum" &&
line1 !~ "^typedef" &&
line1 !~ "\"C\"" &&
line1 !~ "=" )
line1 !~ "extern[ ][ ]*\"C\"" &&
line1 !~ "=" &&
line1 ~ ")")
print "int pgindent_func_no_var_fix;";
line1 = line2;
}

Loading…
Cancel
Save