summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-21 15:21:19 +0000
committerngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-21 15:21:19 +0000
commit902240180986dc209bf4e223397f316448693db0 (patch)
treef9ea07bef8d52b9579b810901e622aeeb1724d27 /regcomp.c
parentedaf4500f84991f9882cfe899a089049269ede8b (diff)
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
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
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);