regcomp.c: Fix compile error with old version of fcc on Solaris
* regcomp.c (get_min_match_length): Fix compile error with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #13059][ruby-dev:49909] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
edaf4500f8
commit
9022401809
@ -2233,7 +2233,7 @@ get_min_match_length(Node* node, OnigDistance *min, ScanEnv* env)
|
|||||||
*min = en->min_len;
|
*min = en->min_len;
|
||||||
else {
|
else {
|
||||||
if (IS_ENCLOSE_MARK1(NENCLOSE(node)))
|
if (IS_ENCLOSE_MARK1(NENCLOSE(node)))
|
||||||
*min = 0; // recursive
|
*min = 0; /* recursive */
|
||||||
else {
|
else {
|
||||||
SET_ENCLOSE_STATUS(node, NST_MARK1);
|
SET_ENCLOSE_STATUS(node, NST_MARK1);
|
||||||
r = get_min_match_length(en->target, min, env);
|
r = get_min_match_length(en->target, min, env);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user