diff options
author | rws <empty> | 1990-06-15 17:19:01 +0000 |
---|---|---|
committer | rws <empty> | 1990-06-15 17:19:01 +0000 |
commit | c72b53ac99b5d5debcfdeddac21636238cd14175 (patch) | |
tree | b0c5e1458ba63eb44f2114dabb85e481f1d7ed81 | |
parent | 7d006d3494856fa764a22d96f8a66dca5e6531a3 (diff) |
add rcs ident and copyright
move xrmtypes to Xrm.c
-rw-r--r-- | xc/lib/X11/XrmI.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/xc/lib/X11/XrmI.h b/xc/lib/X11/XrmI.h index 15d152a7f..937e92b79 100644 --- a/xc/lib/X11/XrmI.h +++ b/xc/lib/X11/XrmI.h @@ -1,3 +1,19 @@ +/* $XConsortium: XrmI.h,v 1.5 89/12/22 16:11:28 rws Exp $ */ +/* + +Copyright 1990 by the Massachusetts Institute of Technology + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of M.I.T. not be used in advertising or +publicity pertaining to distribution of the software without specific, +written prior permission. M.I.T. makes no representations about the +suitability of this software for any purpose. It is provided "as is" +without express or implied warranty. + +*/ #define NUM_CHARS 256 @@ -17,23 +33,6 @@ #define STRING_TERMINATOR ('\0') #define ZERO ('0') -static unsigned short _xrmtypes[NUM_CHARS] = { - _EOF,0,0,0,0,0,0,0,0,SPACE, /* 0. */ - EOL,0,0,0,0,0,0,0,0,0, /* 10. */ - 0,0,0,0,0,0,0,0,0,0, /* 20. */ - 0,0,SPACE,COMMENT,0,0,0,0,0,0, /* 30. */ - 0,0,LOOSE,0,0,0,TIGHT,0,ODIGIT,ODIGIT, - ODIGIT,ODIGIT,ODIGIT,ODIGIT,ODIGIT, /* 50. */ - ODIGIT,0,0,SEP,0, /* 55. */ - 0,0,0,0,0,0,0,0,0,0, /* 60. */ - 0,0,0,0,0,0,0,0,0,0, /* 70. */ - 0,0,0,0,0,0,0,0,0,0, /* 80. */ - 0,0,BSLASH,0,0,0,0,0,0,0, /* 90. */ - 0,0,0,0,0,0,0,0,0,0, /* 100. */ - N,0,0,0,0,0,0,0,0,0, /* 110. */ - /* The rest will be automatically initialized to zero. */ -}; - #define get_next_char(ch, str) (_xrmtypes[(ch) = *((str)++)]) #define xrm_is_space(bits) ((bits) & SPACE) |