(file) Return to naming.c CVS log (file) (dir) Up to [OMI] / omi / base

Diff for /omi/base/naming.c between version 1.2 and 1.3

version 1.2, 2015/04/20 18:10:09 version 1.3, 2015/04/20 18:19:49
Line 24 
Line 24 
  
 #include "naming.h" #include "naming.h"
  
 MI_Boolean LegalName(const MI_Char* name)  MI_Boolean LegalName(const ZChar* name)
 { {
     /* Table for determining whether character is [A-Za-z_] */     /* Table for determining whether character is [A-Za-z_] */
     static const MI_Uint8 _FirstChar[256] =     static const MI_Uint8 _FirstChar[256] =
Line 66 
Line 66 
         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
     };     };
     const MI_Char* p = name;      const ZChar* p = name;
  
     /* Check the 1st character */     /* Check the 1st character */
     if (!_FirstChar[(MI_Uint8)*p])     if (!_FirstChar[(MI_Uint8)*p])


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

ViewCVS 0.9.2