Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
00001 /* 00002 00003 Copyright (C) 2000, 2001, Silicon Graphics, Inc. All Rights Reserved. 00004 00005 This program is free software; you can redistribute it and/or modify it 00006 under the terms of version 2.1 of the GNU Lesser General Public License 00007 as published by the Free Software Foundation. 00008 00009 This program is distributed in the hope that it would be useful, but 00010 WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00012 00013 Further, this software is distributed without any warranty that it is 00014 free of the rightful claim of any third person regarding infringement 00015 or the like. Any license provided herein, whether implied or 00016 otherwise, applies only to this software file. Patent licenses, if 00017 any, provided herein do not apply to combinations of this program with 00018 other software, or any other product whatsoever. 00019 00020 You should have received a copy of the GNU Lesser General Public 00021 License along with this program; if not, write the Free Software 00022 Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, 00023 USA. 00024 00025 Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, 00026 Mountain View, CA 94043, or: 00027 00028 http://www.sgi.com 00029 00030 For further information regarding this notice, see: 00031 00032 http://oss.sgi.com/projects/GenInfo/NoticeExplan 00033 00034 */ 00035 00036 00037 00038 #pragma ident "@(#) libf/fio/rnldata.c 92.2 06/21/99 10:37:55" 00039 00040 #include "fio.h" 00041 00042 /* This module contains data used by the namelist read routines */ 00043 00044 long _SKP_MESS = 1; /* If nonzero give a warning message 00045 * for skipped namelist groups on 00046 * input. */ 00047 unum_t _OUT_UNIT = -1; /* Unit where echoed input lines are 00048 * written. -1 indicates default */ 00049 long _TYP_CONV = 1; /* If nonzero, type conversions are 00050 * allowed across the equal sign. */ 00051 long _BLNKSEP = 1; /* 0 if user has turned off the use 00052 * of a space character as a delimiter*/ 00053 00054 /* 00055 * The _MASKS[] array contains bit flags for use in determining type. 00056 * Each pair of 64-bit words is a bit mask for the 128 ASCII characters. 00057 * The corresponding bit is set if the character belongs to a particular 00058 * group. 00059 */ 00060 00061 long long 00062 _MASKS[] = { 00063 #ifdef _UNICOS 00064 0000000000001200000000, /* $ & namelist delimiters */ 00065 0, 00066 00067 0000000000000000177700, /* 0..9 A..Z a..z */ 00068 0777777776017777777740, 00069 00070 0000000000000000000004, /* = */ 00071 0, 00072 00073 0000000000000002000000, /* , separator */ 00074 0, 00075 00076 0, /* E e echo indicator */ 00077 0020000000000400000000, 00078 00079 0000000000010000000060, /* : ; ! comment indicator */ 00080 0 00081 }; 00082 #elif defined(_SOLARIS) || defined(__mips) || defined(_ABSOFT) || \ 00083 defined(_LITTLE_ENDIAN) 00084 0000000000001200000000LL, /* $ & namelist delimiters */ 00085 0LL, 00086 00087 0000000000000000177700LL, /* 0..9 A..Z a..z */ 00088 0777777776017777777740LL, 00089 00090 0000000000000000000004LL, /* = */ 00091 0LL, 00092 00093 0000000000000002000000LL, /* , separator */ 00094 0LL, 00095 00096 0LL, /* E e echo indicator */ 00097 0020000000000400000000LL, 00098 00099 0000000000010000000060LL, /* : ; ! comment indicator */ 00100 0LL 00101 }; 00102 #endif /* UNICOS */