186d7f5d3SJohn Marino /* Copyright (C) 2001 Free Software Foundation, Inc. 286d7f5d3SJohn Marino 386d7f5d3SJohn Marino This program is free software; you can redistribute it and/or modify 486d7f5d3SJohn Marino it under the terms of the GNU General Public License as published by 586d7f5d3SJohn Marino the Free Software Foundation; either version 2, or (at your option) 686d7f5d3SJohn Marino any later version. 786d7f5d3SJohn Marino 886d7f5d3SJohn Marino This program is distributed in the hope that it will be useful, 986d7f5d3SJohn Marino but WITHOUT ANY WARRANTY; without even the implied warranty of 1086d7f5d3SJohn Marino MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1186d7f5d3SJohn Marino GNU General Public License for more details. 1286d7f5d3SJohn Marino 1386d7f5d3SJohn Marino You should have received a copy of the GNU General Public License 1486d7f5d3SJohn Marino along with this program; if not, write to the Free Software Foundation, 1586d7f5d3SJohn Marino Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 1686d7f5d3SJohn Marino 1786d7f5d3SJohn Marino 1886d7f5d3SJohn Marino #ifdef HAVE_CONFIG_H 1986d7f5d3SJohn Marino # include <config.h> 2086d7f5d3SJohn Marino #endif 2186d7f5d3SJohn Marino 2286d7f5d3SJohn Marino #include <limits.h> 2386d7f5d3SJohn Marino 2486d7f5d3SJohn Marino #include "mbchar.h" 2586d7f5d3SJohn Marino 2686d7f5d3SJohn Marino #if IS_BASIC_ASCII 2786d7f5d3SJohn Marino 2886d7f5d3SJohn Marino /* Bit table of characters in the ISO C "basic character set". */ 2986d7f5d3SJohn Marino unsigned int is_basic_table [UCHAR_MAX / 32 + 1] = 3086d7f5d3SJohn Marino { 3186d7f5d3SJohn Marino 0x00001a00, /* '\t' '\v' '\f' */ 3286d7f5d3SJohn Marino 0xffffffef, /* ' '...'#' '%'...'?' */ 3386d7f5d3SJohn Marino 0xfffffffe, /* 'A'...'Z' '[' '\\' ']' '^' '_' */ 3486d7f5d3SJohn Marino 0x7ffffffe /* 'a'...'z' '{' '|' '}' '~' */ 3586d7f5d3SJohn Marino /* The remaining bits are 0. */ 3686d7f5d3SJohn Marino }; 3786d7f5d3SJohn Marino 3886d7f5d3SJohn Marino #endif /* IS_BASIC_ASCII */ 39