[Pcre-svn] [1231] code/trunk/pcre_compile.c: Remove commente…

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [1231] code/trunk/pcre_compile.c: Remove commented code that has been obsolete since 8.00.
Revision: 1231
          http://vcs.pcre.org/viewvc?view=rev&revision=1231
Author:   ph10
Date:     2012-12-07 12:05:53 +0000 (Fri, 07 Dec 2012)


Log Message:
-----------
Remove commented code that has been obsolete since 8.00.

Modified Paths:
--------------
    code/trunk/pcre_compile.c


Modified: code/trunk/pcre_compile.c
===================================================================
--- code/trunk/pcre_compile.c    2012-12-07 10:22:16 UTC (rev 1230)
+++ code/trunk/pcre_compile.c    2012-12-07 12:05:53 UTC (rev 1231)
@@ -4907,16 +4907,6 @@


       if (repeat_max == 0) goto END_REPEAT;


-      /*--------------------------------------------------------------------*/
-      /* This code is obsolete from release 8.00; the restriction was finally
-      removed: */
-
-      /* All real repeats make it impossible to handle partial matching (maybe
-      one day we will be able to remove this restriction). */
-
-      /* if (repeat_max != 1) cd->external_flags |= PCRE_NOPARTIAL; */
-      /*--------------------------------------------------------------------*/
-
       /* Combine the op_type with the repeat_type */


       repeat_type += op_type;
@@ -5063,16 +5053,6 @@
         goto END_REPEAT;
         }


-      /*--------------------------------------------------------------------*/
-      /* This code is obsolete from release 8.00; the restriction was finally
-      removed: */
-
-      /* All real repeats make it impossible to handle partial matching (maybe
-      one day we will be able to remove this restriction). */
-
-      /* if (repeat_max != 1) cd->external_flags |= PCRE_NOPARTIAL; */
-      /*--------------------------------------------------------------------*/
-
       if (repeat_min == 0 && repeat_max == -1)
         *code++ = OP_CRSTAR + repeat_type;
       else if (repeat_min == 1 && repeat_max == -1)