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

📄 format.h

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 H
字号:
/** 	@(#)format.h	1.2	(ULTRIX)	1/16/86*//************************************************************************ *									* *			Copyright (c) 1986 by				* *		Digital Equipment Corporation, Maynard, MA		* *			All rights reserved.				* *									* *   This software is furnished under a license and may be used and	* *   copied  only  in accordance with the terms of such license and	* *   with the  inclusion  of  the  above  copyright  notice.   This	* *   software  or  any  other copies thereof may not be provided or	* *   otherwise made available to any other person.  No title to and	* *   ownership of the software is hereby transferred.			* *									* *   This software is  derived  from  software  received  from  the	* *   University    of   California,   Berkeley,   and   from   Bell	* *   Laboratories.  Use, duplication, or disclosure is  subject  to	* *   restrictions  under  license  agreements  with  University  of	* *   California and with AT&T.						* *									* *   The information in this software is subject to change  without	* *   notice  and should not be construed as a commitment by Digital	* *   Equipment Corporation.						* *									* *   Digital assumes no responsibility for the use  or  reliability	* *   of its software on equipment which is not supplied by Digital.	* *									* ************************************************************************//**************************************************************************			Modification History**	David Metsky		10-Jan-86** 001	Replaced old version with BSD 4.3 version as part of upgrade.**	Based on:	format.h	5.1		6/7/85**************************************************************************//* * format parser definitions */struct syl{	short op,p1,p2,rpcnt;};/*	do NOT change this defines or add new ones without *	changing the value of the following define for OP_TYPE_TAB. *	change format.h both in the compiler and libI77 simultaneously. */#define RET	1#define REVERT 	2#define GOTO 	3#define X 	4#define SLASH 	5#define STACK 	6#define I 	7#define ED 	8#define NED 	9#define IM 	10#define APOS 	11#define H 	12#define TL 	13#define TR 	14#define T 	15#define COLON 	16#define S 	17#define SP 	18#define SS 	19#define P 	20#define BNZ 	21#define B 	22#define F 	23#define E 	24#define EE 	25#define D 	26#define DE	27		/*** NOT STANDARD FORTRAN ***/#define G 	28#define GE 	29#define L 	30#define A 	31#define AW	32#define R	33		/*** NOT STANDARD FORTRAN ***/#define DOLAR	34		/*** NOT STANDARD FORTRAN ***/#define SU	35		/*** NOT STANDARD FORTRAN ***/#define LAST_TERM SU/* OP_TYPE_TAB is used in dofio.c .	  Each value corresponds to a value above, and must be	  ED for editing terms: I,IM,F,E,EE,D,DE,G,GE,L,A,AW	  NED for nonediting terms which change the I/O stream:			X,SLASH,APOS,H,TL,TR,T	  and just the value of the term for all others.	  E.g. SP is defined above as 17, so the element 17 of	  OP_TYPE_TAB (counting from zero) is SP since SP does not	  read or write data;	  IM is defined as 10 so the element 10 of OP_TYPE_TAB	  is ED since IM edits data from the i/o list. */#define OP_TYPE_TAB {0, RET, REVERT, GOTO, NED, NED, STACK, ED, ED, NED, \			ED, NED, NED, NED, NED, NED, COLON, S, SP, SS, P, \			BNZ, B, ED, ED, ED, ED, ED, ED, ED, ED, ED, ED, \			R, DOLAR, SU }#define	FMTUNKN	-1#define FMTOK	1#define FMTERR	0#define FMT_COMP 0x101		/* indicates pre-compiled formats */extern struct syl *syl_ptr;extern short pc;

⌨️ 快捷键说明

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