1 /**************************************************************** 2 Copyright 1990 - 1997 by AT&T, Lucent Technologies and Bellcore. 3 4 Permission to use, copy, modify, and distribute this software 5 and its documentation for any purpose and without fee is hereby 6 granted, provided that the above copyright notice appear in all 7 copies and that both that the copyright notice and this 8 permission notice and warranty disclaimer appear in supporting 9 documentation, and that the names of AT&T, Bell Laboratories, 10 Lucent or Bellcore or any of their entities not be used in 11 advertising or publicity pertaining to distribution of the 12 software without specific, written prior permission. 13 14 AT&T, Lucent and Bellcore disclaim all warranties with regard to 15 this software, including all implied warranties of 16 merchantability and fitness. In no event shall AT&T, Lucent or 17 Bellcore be liable for any special, indirect or consequential 18 damages or any damages whatsoever resulting from loss of use, 19 data or profits, whether in an action of contract, negligence or 20 other tortious action, arising out of or in connection with the 21 use or performance of this software. 22 ****************************************************************/ 23 24 /* copy of ftypes from the compiler */ 25 /* variable types 26 * numeric assumptions: 27 * int < reals < complexes 28 * TYDREAL-TYREAL = TYDCOMPLEX-TYCOMPLEX 29 */ 30 31 /* 0-10 retain their old (pre LOGICAL*1, etc.) */ 32 /* values to allow mixing old and new objects. */ 33 34 #define TYUNKNOWN 0 35 #define TYADDR 1 36 #define TYSHORT 2 37 #define TYLONG 3 38 #define TYREAL 4 39 #define TYDREAL 5 40 #define TYCOMPLEX 6 41 #define TYDCOMPLEX 7 42 #define TYLOGICAL 8 43 #define TYCHAR 9 44 #define TYSUBR 10 45 #define TYINT1 11 46 #define TYLOGICAL1 12 47 #define TYLOGICAL2 13 48 #ifdef Allow_TYQUAD 49 #undef TYQUAD 50 #define TYQUAD 14 51 #endif 52 53 #define LINTW 24 54 #define LINE 80 55 #define LLOGW 2 56 #define LGFMT "%.9G" 57 /* LEFBL 20 should suffice; 24 overcomes a NeXT bug. */ 58 #define LEFBL 24 59 60 typedef union 61 { 62 char flchar; 63 short flshort; 64 ftnint flint; 65 #ifdef Allow_TYQUAD 66 longint fllongint; 67 #endif 68 real flreal; 69 doublereal fldouble; 70 } flex; 71