From 902240180986dc209bf4e223397f316448693db0 Mon Sep 17 00:00:00 2001 From: ngoto Date: Wed, 21 Dec 2016 15:21:19 +0000 Subject: 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 --- regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regcomp.c') diff --git a/regcomp.c b/regcomp.c index 49103afea1..7ce5113985 100644 --- a/regcomp.c +++ b/regcomp.c @@ -2233,7 +2233,7 @@ get_min_match_length(Node* node, OnigDistance *min, ScanEnv* env) *min = en->min_len; else { if (IS_ENCLOSE_MARK1(NENCLOSE(node))) - *min = 0; // recursive + *min = 0; /* recursive */ else { SET_ENCLOSE_STATUS(node, NST_MARK1); r = get_min_match_length(en->target, min, env); -- cgit v1.2.3