summaryrefslogtreecommitdiff
path: root/regerror.c
diff options
context:
space:
mode:
authorksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-16 15:20:15 (GMT)
committerksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-16 15:20:15 (GMT)
commitc2253d31cd409f3d4c22708778ac61836d223ed2 (patch)
treed8f64a6b42f55d7136e1b18d0e1694d02e70bffc /regerror.c
parente1124ffa21685ece8854b6e198e47cafadd64d07 (diff)
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: svn+ssh://ci.ruby-lang.org/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 5a6c31b..c7a2a7b 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);