diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-16 09:10:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-16 09:10:56 +0000 |
commit | 774fd169adaec18efd2f2929e01413219ad5c0fb (patch) | |
tree | 9b638d20cb755b57d0c3277c42ea210517346b22 /regerror.c | |
parent | 6e9fc98d19f1fbbec1665bee0b7a42f65ab79c68 (diff) | |
download | ruby-774fd169adaec18efd2f2929e01413219ad5c0fb.tar.gz |
regerror.c: lenghten MAX_ERROR_PAR_LEN to contain old property names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regerror.c')
-rw-r--r-- | regerror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regerror.c b/regerror.c index aff6354196..59cf53068e 100644 --- a/regerror.c +++ b/regerror.c @@ -242,8 +242,8 @@ static int to_ascii(OnigEncoding enc, UChar *s, UChar *end, } -/* for ONIG_MAX_ERROR_MESSAGE_LEN */ -#define MAX_ERROR_PAR_LEN 30 +/* < ONIG_MAX_ERROR_MESSAGE_LEN - max length of messages with %n */ +#define MAX_ERROR_PAR_LEN 50 extern int onig_error_code_to_str(UChar* s, OnigPosition code, ...) |