mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:09:33 +02:00
* correctly read the region label in $region directives, resolves #39395
This commit is contained in:
parent
8ca19a3b65
commit
95ad8f1694
@ -1914,6 +1914,8 @@ unit scandir;
|
||||
|
||||
procedure dir_region;
|
||||
begin
|
||||
current_scanner.skipspace;
|
||||
current_scanner.readquotedstring;
|
||||
end;
|
||||
|
||||
procedure dir_endregion;
|
||||
|
6
tests/webtbs/tw39395.pp
Normal file
6
tests/webtbs/tw39395.pp
Normal file
@ -0,0 +1,6 @@
|
||||
{$mode delphi}
|
||||
|
||||
{$region ' { somelabel } '}
|
||||
|
||||
begin
|
||||
end.
|
Loading…
Reference in New Issue
Block a user