postgres.git / summary / log / commit / refs
commit 16e4adc38fc186945a67987ac1625b91e02b2b0d
Author: Bruce Momjian <bruce@momjian.us>
Date: Sat Sep 27 21:26:09 2003 +0000
First released in: 7.4
Update bsd indent patch.
src/tools/pgindent/indent.bsd.patch | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/src/tools/pgindent/indent.bsd.patch b/src/tools/pgindent/indent.bsd.patch
index 86be3c0190b..231ec2e8d0e 100644
--- a/src/tools/pgindent/indent.bsd.patch
+++ b/src/tools/pgindent/indent.bsd.patch
@@ -1,6 +1,6 @@
This increases the number of typedef's understood by BSD indent from 100
-to 1000. The second patch allows it to understand 0x7fU and 0LL constants.
+to 4096. The second patch allows it to understand 0x7fU and 0LL constants.
---------------------------------------------------------------------------
@@ -32,26 +32,6 @@ to 1000. The second patch allows it to understand 0x7fU and 0LL constants.
*e_token++ = *buf_ptr++;
}
else
---- 186,193 ----
- *e_token++ = *buf_ptr++;
- }
- }
-! if (*buf_ptr == 'L' || *buf_ptr == 'U' ||
-! *buf_ptr == 'l' || *buf_ptr == 'u')
- *e_token++ = *buf_ptr++;
- }
- else
-***************
-*** 186,194 ****
- *e_token++ = *buf_ptr++;
- }
- }
-! if (*buf_ptr == 'L' || *buf_ptr == 'U' ||
-! *buf_ptr == 'l' || *buf_ptr == 'u')
-! *e_token++ = *buf_ptr++;
- }
- else
- while (chartype[*buf_ptr] == alphanum) { /* copy it over */
--- 186,203 ----
*e_token++ = *buf_ptr++;
}
[parent: ee84100cc1ea]