diff --git a/packages/fcl-db/src/base/dsparams.inc b/packages/fcl-db/src/base/dsparams.inc index 2ffe74b23a..72d16d0771 100644 --- a/packages/fcl-db/src/base/dsparams.inc +++ b/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