File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- # $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.95 2007/11/16 01:11:04 momjian Exp $
3
+ # $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.96 2007/11/16 01:25:15 momjian Exp $
4
4
5
5
# Known bugs:
6
6
#
46
46
# 'else' followed by a single-line comment, followed by
47
47
# a brace on the next line confuses BSD indent, so we push
48
48
# the comment down to the next line, then later pull it
49
- # back up again. Add space before PGMV or indent will add
49
+ # back up again. Add space before _PGMV or indent will add
50
50
# it for us.
51
51
sed ' s;\([} ]\)else[ ]*\(/\*\)\(.*\*/\)[ ]*$;\1else\
52
- \2 PGMV \3;g' |
52
+ \2 _PGMV \3;g' |
53
53
54
54
# Indent multi-line after-'else' comment so BSD indent will move it properly.
55
55
# We already moved down single-line comments above. Check for '*' to make
@@ -2244,10 +2244,10 @@ do
2244
2244
{
2245
2245
if (NR != 1)
2246
2246
{
2247
- if ($0 ~ "/\* PGMV ")
2247
+ if ($0 ~ "/\* _PGMV ")
2248
2248
{
2249
2249
# remove tag
2250
- sub(" PGMV ", "", $0);
2250
+ sub(" _PGMV ", "", $0);
2251
2251
# remove leading whitespace
2252
2252
sub("^[ ]*", "", $0);
2253
2253
# add comment with single tab prefix
You can’t perform that action at this time.
0 commit comments