diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-09-01 18:53:26 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-09-01 18:53:26 +0200 |
commit | d077404170160a6936e448a40cbb74a95d19ff3c (patch) | |
tree | 1ab0d5a03a46659e39de2e611e89642d9de5867b /src/regerror.c | |
parent | 6b31069db6198cd50cc17f2c63917dd2df5775fb (diff) | |
parent | b62fc1758f4ae8459e6d7e8386ca547274b4daa2 (diff) |
Updated version 6.6.1 from 'upstream/6.6.1'
with Debian dir 43da96f2ad45c214a26fc8b155a175b1c828e493
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: |