summaryrefslogtreecommitdiffstats
path: root/regerror.c
diff options
context:
space:
mode:
authorksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-16 15:20:15 +0000
committerksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-16 15:20:15 +0000
commitb991e842380ff74212011ec5f4689dd72c11accf (patch)
treed8f64a6b42f55d7136e1b18d0e1694d02e70bffc /regerror.c
parentb0e607f92387d2bdf4ac02eae5400910884d29b6 (diff)
downloadruby-b991e842380ff74212011ec5f4689dd72c11accf.tar.gz
ruby-b991e842380ff74212011ec5f4689dd72c11accf.tar.xz
ruby-b991e842380ff74212011ec5f4689dd72c11accf.zip
This commit was generated by cvs2svn to compensate for changes in r5960,
which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regerror.c')
-rw-r--r--regerror.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regerror.c b/regerror.c
index 5a6c31b82..c7a2a7b7e 100644
--- a/regerror.c
+++ b/regerror.c
@@ -145,7 +145,7 @@ onig_error_code_to_format(int code)
case ONIGERR_GROUP_NUMBER_OVER_FOR_CAPTURE_HISTORY:
p = "group number is too big for capture history"; break;
case ONIGERR_INVALID_CHAR_PROPERTY_NAME:
- p = "invalid character property name"; break;
+ p = "invalid character property name {%n}"; break;
case ONIGERR_OVER_THREAD_PASS_LIMIT_COUNT:
p = "over thread pass limit count"; break;
@@ -184,6 +184,7 @@ onig_error_code_to_str(s, code, va_alist)
case ONIGERR_MULTIPLEX_DEFINITION_NAME_CALL:
case ONIGERR_INVALID_GROUP_NAME:
case ONIGERR_INVALID_CHAR_IN_GROUP_NAME:
+ case ONIGERR_INVALID_CHAR_PROPERTY_NAME:
einfo = va_arg(vargs, OnigErrorInfo*);
len = einfo->par_end - einfo->par;
q = onig_error_code_to_format(code);