regex: Handle PCRE_ERROR_RECURSIONLOOP
authorChristian Persch <chpe@gnome.org>
Thu, 7 Jun 2012 23:08:10 +0000 (01:08 +0200)
committerChristian Persch <chpe@gnome.org>
Sun, 1 Jul 2012 12:00:11 +0000 (14:00 +0200)
Was missing from the error conversion routine.

glib/gregex.c

index a1383a4..b7f0060 100644 (file)
@@ -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;
     }