00001 00002 // ========== This file is under LGPL, the GNU Lesser General Public Licence 00003 // ========== Dialing Graphematical Module (www.aot.ru) 00004 // ========== Copyright by Alexey Sokirko (1996-2001) 00005 00006 #ifndef graspace_h 00007 #define graspace_h 00008 00009 #include "utilit.h" 00010 00011 #define SEOLN (unsigned char) '' 00012 #define SSpace (unsigned char) '' 00013 #define STab '\x10' 00014 00015 inline bool is_gra_space (int c) 00016 { return c==SEOLN || c == SSpace || c == STab;} 00017 00018 // max length of the token 00019 const size_t CriticalTokenLength = 255; 00020 00021 // length of the token and its graphematical descriptors 00022 const size_t CriticalGraphemLineLength = CriticalTokenLength*2; 00023 00024 #endif