⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 te.c

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 C
字号:
#ifndef lintstatic char sccsid[] = "@(#)te.c	4.2 8/11/83";#endif /* te.c: error message control, input line count */# include "t..c"error(s)	char *s;{fprintf(stderr, "\n%s: line %d: %s\n", ifile, iline, s);# ifdef unixfprintf(stderr, "tbl quits\n");exit(1);# endif# ifdef gcosfprintf(stderr, "run terminated due to error condition detected by tbl preprocessor\n");exit(0);# endif}gets1(s)	char *s;{char *p;int nbl = 0;iline++;p=fgets(s,BUFSIZ,tabin);while (p==0)	{	if (swapin()==0)		return(0);	p = fgets(s,BUFSIZ,tabin);	}while (*s) s++;s--;if (*s == '\n') *s-- =0;for(nbl=0; *s == '\\' && s>p; s--)	nbl++;if (linstart && nbl % 2) /* fold escaped nl if in table */	gets1(s+1);return((int)p);}# define BACKMAX 500char backup[BACKMAX];char *backp = backup;un1getc(c){if (c=='\n')	iline--;*backp++ = c;if (backp >= backup+BACKMAX)	error("too much backup");}get1char(){int c;if (backp>backup)	c = *--backp;else	c=getc(tabin);if (c== EOF) /* EOF */	{	if (swapin() ==0)		error("unexpected EOF");	c = getc(tabin);	}if (c== '\n')	iline++;return(c);}

⌨️ 快捷键说明

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