Browse Source

* fix trailing quote char. Patch by wp mantis 34405

git-svn-id: trunk@39910 -
marco 6 năm trước cách đây
mục cha
commit
b3feccb397
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/rtl-objpas/src/inc/dateutil.inc

+ 1 - 1
packages/rtl-objpas/src/inc/dateutil.inc

@@ -2616,7 +2616,7 @@ begin
                 matchchar(ptrn[pind]);
             end;
      end;
-   if (pind<plen) and (plen>0) and (ptrn[plen-1]<>#9) then  // allow omission of trailing whitespace
+   if (pind<plen) and (plen>0) and not (ptrn[plen-1] in [#9, '"']) then  // allow omission of trailing whitespace
      RaiseException(format(SFullpattern,[poffs+pind+1]));
 end;