[glib] regex: Handle PCRE_ERROR_RECURSIONLOOP



commit 6d5484b2962c2a365983e8a37295f298909bca00
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]