* regenc.h (PosixBracketEntryType): constified.

* regenc.h (PosixBracketEntryInit): suppress warnings.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-09-22 07:28:43 +00:00
parent 01f3f86472
commit 46970b2d1d
3 changed files with 23 additions and 19 deletions

View file

@ -96,11 +96,12 @@ typedef struct {
typedef struct {
UChar *name;
const UChar *name;
int ctype;
short int len;
} PosixBracketEntryType;
#define PosixBracketEntryInit(name, ctype) {(const UChar *)name, ctype, (short int)(sizeof(name) - 1)}
/* #define USE_CRNL_AS_LINE_TERMINATOR */
#define USE_UNICODE_PROPERTIES