Logo Search packages:      
Sourcecode: beav version File versions  Download package

cinfo.c

/*
*           Character class tables.
* Do it yourself character classification
* macros, that understand the multinational character set,
* and let me ask some questions the standard macros (in
* ctype.h) don't let you ask.
*/
#include    "def.h"

/*
* This table, indexed by a character drawn
* from the 256 member character set, is used by my
* own character type macros to answer questions about the
* type of a character. It handles the full multinational
* character set, and lets me ask some questions that the
* standard "ctype" macros cannot ask.
*/
char cinfo[256] =
{

    _C, _C, _C, _C,           /* 0x0X      */
    _C, _C, _C, _C,
    _C, _C, _C, _C,
    _C, _C, _C, _C,
    _C, _C, _C, _C,           /* 0x1X      */
    _C, _C, _C, _C,
    _C, _C, _C, _C,
    _C, _C, _C, _C,
    0, 0, 0, 0,               /* 0x2X      */
    _W, 0, 0, _W,
    0, 0, 0, 0,
    0, 0, 0, 0,
    _W, _W, _W, _W,           /* 0x3X      */
    _W, _W, _W, _W,
    _W, _W, 0, 0,
    0, 0, 0, 0,
    0, _U | _W, _U | _W, _U | _W,   /* 0x4X      */
    _U | _W, _U | _W, _U | _W, _U | _W,
    _U | _W, _U | _W, _U | _W, _U | _W,
    _U | _W, _U | _W, _U | _W, _U | _W,
    _U | _W, _U | _W, _U | _W, _U | _W,   /* 0x5X      */
    _U | _W, _U | _W, _U | _W, _U | _W,
    _U | _W, _U | _W, _U | _W, 0,
    0, 0, 0, _W,
    0, _L | _W, _L | _W, _L | _W,   /* 0x6X      */
    _L | _W, _L | _W, _L | _W, _L | _W,
    _L | _W, _L | _W, _L | _W, _L | _W,
    _L | _W, _L | _W, _L | _W, _L | _W,
    _L | _W, _L | _W, _L | _W, _L | _W,   /* 0x7X      */
    _L | _W, _L | _W, _L | _W, _L | _W,
    _L | _W, _L | _W, _L | _W, 0,
    0, 0, 0, _C,
    0, 0, 0, 0,               /* 0x8X      */
    0, 0, 0, 0,
    0, 0, 0, 0,
    0, 0, 0, 0,
    0, 0, 0, 0,               /* 0x9X      */
    0, 0, 0, 0,
    0, 0, 0, 0,
    0, 0, 0, 0,
    0, 0, 0, 0,               /* 0xAX      */
    0, 0, 0, 0,
    0, 0, 0, 0,
    0, 0, 0, 0,
    0, 0, 0, 0,               /* 0xBX      */
    0, 0, 0, 0,
    0, 0, 0, 0,
    0, 0, 0, 0,
    _U | _W, _U | _W, _U | _W, _U | _W,   /* 0xCX      */
    _U | _W, _U | _W, _U | _W, _U | _W,
    _U | _W, _U | _W, _U | _W, _U | _W,
    _U | _W, _U | _W, _U | _W, _U | _W,
    0, _U | _W, _U | _W, _U | _W,   /* 0xDX      */
    _U | _W, _U | _W, _U | _W, _U | _W,
    _U | _W, _U | _W, _U | _W, _U | _W,
    _U | _W, _U | _W, 0, _W,
    _L | _W, _L | _W, _L | _W, _L | _W,   /* 0xEX      */
    _L | _W, _L | _W, _L | _W, _L | _W,
    _L | _W, _L | _W, _L | _W, _L | _W,
    _L | _W, _L | _W, _L | _W, _L | _W,
    0, _L | _W, _L | _W, _L | _W,   /* 0xFX      */
    _L | _W, _L | _W, _L | _W, _L | _W,
    _L | _W, _L | _W, _L | _W, _L | _W,
    _L | _W, _L | _W, 0, 0
};

Generated by  Doxygen 1.6.0   Back to index