소스 검색

* skip newline after comment. Patch by Lacak2, #22031

git-svn-id: trunk@21682 -
marco 13 년 전
부모
커밋
40d26638a7
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      packages/fcl-db/src/base/dsparams.inc

+ 2 - 1
packages/fcl-db/src/base/dsparams.inc

@@ -213,7 +213,8 @@ begin
           repeat // skip until at end of line
             Inc(p);
           until p^ in [#10, #0];
-        end
+        end;
+        if p^<>#0 then Inc(p); // newline is part of comment
       end;
     '/': // possible start of /* */ comment
       begin