mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
6e9fc98d19
commit
774fd169ad
1 changed files with 2 additions and 2 deletions
|
@ -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, ...)
|
||||
|
|
Loading…
Reference in a new issue