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

Commit 5840db2

Browse files
committed
Add back incremental patch for BSD indent.
1 parent 7e13743 commit 5840db2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/tools/pgindent/indent.bsd.patch

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,27 @@ to 1000. The second patch allows it to understand 0x7fU and 0LL constants.
2424
"switch", 1,
2525
"case", 2,
2626

27+
*** ./lexi.c.orig Wed May 26 10:50:54 1999
28+
--- ./lexi.c Wed May 26 10:51:08 1999
29+
***************
30+
*** 186,192 ****
31+
*e_token++ = *buf_ptr++;
32+
}
33+
}
34+
! if (*buf_ptr == 'L' || *buf_ptr == 'l')
35+
*e_token++ = *buf_ptr++;
36+
}
37+
else
38+
--- 186,193 ----
39+
*e_token++ = *buf_ptr++;
40+
}
41+
}
42+
! if (*buf_ptr == 'L' || *buf_ptr == 'U' ||
43+
! *buf_ptr == 'l' || *buf_ptr == 'u')
44+
*e_token++ = *buf_ptr++;
45+
}
46+
else
47+
2748
*** ./lexi.c.orig Wed Apr 18 17:15:17 2001
2849
--- ./lexi.c Mon Sep 3 19:05:17 2001
2950
***************

0 commit comments

Comments
 (0)