[glib/wip/pcre-errors: 5/5] regex: Handle PCRE_ERROR_RECURSIONLOOP



commit 04e7f4349f6c78cc7ad4c571ce9e938b13331044
Author: Christian Persch <chpe gnome org>
Date:   Fri Jun 8 01:08:10 2012 +0200

    regex: Handle PCRE_ERROR_RECURSIONLOOP
    
    Was missing from the error conversion routine.

 glib/gregex.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/glib/gregex.c b/glib/gregex.c
index a1383a4..b7f0060 100644
--- a/glib/gregex.c
+++ b/glib/gregex.c
@@ -236,6 +236,8 @@ match_error (gint errcode)
       return _("bad offset");
     case PCRE_ERROR_SHORTUTF8:
       return _("short utf8");
+    case PCRE_ERROR_RECURSELOOP:
+      return _("recursion loop");
     default:
       break;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]