aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-09-04 03:34:42 +0000
committerBruce Momjian <bruce@momjian.us>2001-09-04 03:34:42 +0000
commit5840db21fbc4f986eaf1aec84a4dc529c53caecf (patch)
tree35a8152cd3453e5e5c10797f536f270c178b11d6
parent7e137432996394e60211c1e92aa929f9e286153a (diff)
downloadpostgresql-5840db21fbc4f986eaf1aec84a4dc529c53caecf.tar.gz
postgresql-5840db21fbc4f986eaf1aec84a4dc529c53caecf.zip
Add back incremental patch for BSD indent.
-rw-r--r--src/tools/pgindent/indent.bsd.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/tools/pgindent/indent.bsd.patch b/src/tools/pgindent/indent.bsd.patch
index 7fc3adbf439..2c117caa9e8 100644
--- a/src/tools/pgindent/indent.bsd.patch
+++ b/src/tools/pgindent/indent.bsd.patch
@@ -24,6 +24,27 @@ to 1000. The second patch allows it to understand 0x7fU and 0LL constants.
"switch", 1,
"case", 2,
+*** ./lexi.c.orig Wed May 26 10:50:54 1999
+--- ./lexi.c Wed May 26 10:51:08 1999
+***************
+*** 186,192 ****
+ *e_token++ = *buf_ptr++;
+ }
+ }
+! if (*buf_ptr == 'L' || *buf_ptr == 'l')
+ *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
+
*** ./lexi.c.orig Wed Apr 18 17:15:17 2001
--- ./lexi.c Mon Sep 3 19:05:17 2001
***************