mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* 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:
parent
01f3f86472
commit
46970b2d1d
3 changed files with 23 additions and 19 deletions
3
regenc.h
3
regenc.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue