mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 17:29:33 +02:00
* skip newline after comment. Patch by Lacak2, #22031
git-svn-id: trunk@21682 -
This commit is contained in:
parent
f2e83b0d7e
commit
40d26638a7
@ -213,7 +213,8 @@ begin
|
|||||||
repeat // skip until at end of line
|
repeat // skip until at end of line
|
||||||
Inc(p);
|
Inc(p);
|
||||||
until p^ in [#10, #0];
|
until p^ in [#10, #0];
|
||||||
end
|
end;
|
||||||
|
if p^<>#0 then Inc(p); // newline is part of comment
|
||||||
end;
|
end;
|
||||||
'/': // possible start of /* */ comment
|
'/': // possible start of /* */ comment
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user