提交 158129be 编写于 作者: B Bruce Momjian

Improve readability of script.

上级 5251e7b3
......@@ -51,7 +51,7 @@ do
line1 !~ "^struct" &&
line1 !~ "^enum" &&
line1 !~ "^typedef" &&
line1 !~ "extern[ ][ ]*\"C\"" &&
line1 !~ "^extern[ ][ ]*\"C\"" &&
line1 !~ "=" &&
line1 ~ ")")
print "int pgindent_func_no_var_fix;";
......@@ -1477,7 +1477,7 @@ do
detab -t8 -qc |
entab -t4 -qc |
# add space after comments that start on tab stops
sed 's:\([^ ]\)\(/\*.*\*/\)$:\1 \2:' |
sed 's;\([^ ]\)\(/\*.*\*/\)$;\1 \2;' |
# move trailing * in function return type
sed 's;^\([A-Za-z_][^ ]*\)[ ][ ]*\*$;\1 *;' |
# remove un-needed braces around single statements
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册