mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:29:24 +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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user