fix last commit (r66135)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
56d9c8d7bd
commit
d80bf2f1e7
@ -5846,12 +5846,13 @@ node_extended_grapheme_cluster(Node** np, ScanEnv* env)
|
|||||||
Node **seq = node_array; /* seq[5] */
|
Node **seq = node_array; /* seq[5] */
|
||||||
Node **alts = node_array+5; /* alts[4] */
|
Node **alts = node_array+5; /* alts[4] */
|
||||||
|
|
||||||
for (i=0; i<8; i++)
|
|
||||||
node_array[i] = NULL_NODE;
|
|
||||||
/* UTF-8, UTF-16BE/LE, UTF-32BE/LE */
|
/* UTF-8, UTF-16BE/LE, UTF-32BE/LE */
|
||||||
CClassNode* cc;
|
CClassNode* cc;
|
||||||
OnigCodePoint sb_out = (ONIGENC_MBC_MINLEN(env->enc) > 1) ? 0x00 : 0x80;
|
OnigCodePoint sb_out = (ONIGENC_MBC_MINLEN(env->enc) > 1) ? 0x00 : 0x80;
|
||||||
|
|
||||||
|
for (i=0; i<8; i++)
|
||||||
|
node_array[i] = NULL_NODE;
|
||||||
|
|
||||||
if (propname2ctype(env, "Grapheme_Cluster_Break=Extend") < 0) goto err;
|
if (propname2ctype(env, "Grapheme_Cluster_Break=Extend") < 0) goto err;
|
||||||
/* main comment: The order of the code is backwards (compared to the
|
/* main comment: The order of the code is backwards (compared to the
|
||||||
* order the various expressions appear in the grammar)
|
* order the various expressions appear in the grammar)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user