Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 16e4adc

Browse files
committed
Update bsd indent patch.
1 parent ee84100 commit 16e4adc

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

src/tools/pgindent/indent.bsd.patch

+1-21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
This increases the number of typedef's understood by BSD indent from 100
3-
to 1000. The second patch allows it to understand 0x7fU and 0LL constants.
3+
to 4096. The second patch allows it to understand 0x7fU and 0LL constants.
44

55
---------------------------------------------------------------------------
66

@@ -32,26 +32,6 @@ to 1000. The second patch allows it to understand 0x7fU and 0LL constants.
3232
*e_token++ = *buf_ptr++;
3333
}
3434
else
35-
--- 186,193 ----
36-
*e_token++ = *buf_ptr++;
37-
}
38-
}
39-
! if (*buf_ptr == 'L' || *buf_ptr == 'U' ||
40-
! *buf_ptr == 'l' || *buf_ptr == 'u')
41-
*e_token++ = *buf_ptr++;
42-
}
43-
else
44-
***************
45-
*** 186,194 ****
46-
*e_token++ = *buf_ptr++;
47-
}
48-
}
49-
! if (*buf_ptr == 'L' || *buf_ptr == 'U' ||
50-
! *buf_ptr == 'l' || *buf_ptr == 'u')
51-
! *e_token++ = *buf_ptr++;
52-
}
53-
else
54-
while (chartype[*buf_ptr] == alphanum) { /* copy it over */
5535
--- 186,203 ----
5636
*e_token++ = *buf_ptr++;
5737
}

0 commit comments

Comments
 (0)