diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 14:22:27 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 14:22:27 +0100 |
commit | fa131e9ad996d099bb48a3b1302e4a3b3c0f03bd (patch) | |
tree | 7b4963ddd27303d1a8e856acdd3a55ce9ed179f7 /src/regerror.c | |
parent | a89a4ac904bc93b1d93b410394fa05c23260351b (diff) | |
parent | b7ad39361a923207113da1145f8655a1bc50c3aa (diff) |
Merge branch 'release/6.6.1-1'6.6.1-1
Diffstat (limited to 'src/regerror.c')
-rw-r--r-- | src/regerror.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/regerror.c b/src/regerror.c index a430e60..c0d2346 100644 --- a/src/regerror.c +++ b/src/regerror.c @@ -135,11 +135,7 @@ onig_error_code_to_format(int code) case ONIGERR_TOO_BIG_BACKREF_NUMBER: p = "too big backref number"; break; case ONIGERR_INVALID_BACKREF: -#ifdef USE_NAMED_GROUP p = "invalid backref number/name"; break; -#else - p = "invalid backref number"; break; -#endif case ONIGERR_NUMBERED_BACKREF_OR_CALL_NOT_ALLOWED: p = "numbered backref/call is not allowed. (use name)"; break; case ONIGERR_TOO_MANY_CAPTURES: @@ -155,11 +151,7 @@ onig_error_code_to_format(int code) case ONIGERR_INVALID_GROUP_NAME: p = "invalid group name <%n>"; break; case ONIGERR_INVALID_CHAR_IN_GROUP_NAME: -#ifdef USE_NAMED_GROUP p = "invalid char in group name <%n>"; break; -#else - p = "invalid char in group number <%n>"; break; -#endif case ONIGERR_UNDEFINED_NAME_REFERENCE: p = "undefined name <%n> reference"; break; case ONIGERR_UNDEFINED_GROUP_REFERENCE: |