indent.bsd.patch

来自「PostgreSQL7.4.6 for Linux」· PATCH 代码 · 共 54 行

PATCH
54
字号
This increases the number of typedef's understood by BSD indent from 100to 4096.  The second patch allows it to understand 0x7fU and 0LL constants.---------------------------------------------------------------------------*** ./lexi.c.orig	Mon Sep  8 17:55:47 1997--- ./lexi.c	Mon Sep  8 17:02:10 1997****************** 58,64 ****      int         rwcode;  };  ! struct templ specials[100] =  {      "switch", 1,      "case", 2,--- 58,64 ----      int         rwcode;  };  ! struct templ specials[4096] =  {      "switch", 1,      "case", 2,****************** 186,192 ****  				*e_token++ = *buf_ptr++;  			}  		}! 	    if (*buf_ptr == 'L' || *buf_ptr == 'l')  		*e_token++ = *buf_ptr++;  	}  	else--- 186,203 ----  				*e_token++ = *buf_ptr++;  			}  		}! 		if (*buf_ptr == 'F' || *buf_ptr == 'f') {! 			/* float constant */! 			*e_token++ = *buf_ptr++;! 		} else {! 			/* integer constant (U, L, UL, LL, ULL) */! 			if (*buf_ptr == 'U' || *buf_ptr == 'u')! 				*e_token++ = *buf_ptr++;! 			if (*buf_ptr == 'L' || *buf_ptr == 'l')! 				*e_token++ = *buf_ptr++;! 			if (*buf_ptr == 'L' || *buf_ptr == 'l')! 				*e_token++ = *buf_ptr++;! 		}  	}  	else  	    while (chartype[*buf_ptr] == alphanum) {	/* copy it over */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?