summaryrefslogtreecommitdiff
path: root/src/regerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regerror.c')
-rw-r--r--src/regerror.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regerror.c b/src/regerror.c
index 16009bb..05fc9d8 100644
--- a/src/regerror.c
+++ b/src/regerror.c
@@ -140,6 +140,8 @@ onig_error_code_to_format(int code)
#endif
case ONIGERR_NUMBERED_BACKREF_OR_CALL_NOT_ALLOWED:
p = "numbered backref/call is not allowed. (use name)"; break;
+ case ONIGERR_TOO_MANY_CAPTURES:
+ p = "too many captures"; break;
case ONIGERR_TOO_BIG_WIDE_CHAR_VALUE:
p = "too big wide-char value"; break;
case ONIGERR_TOO_LONG_WIDE_CHAR_VALUE: