mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 01:59:18 +02:00
* tscannerfile.readoptionalstate can handle also switches enclosed in (* ... *) comments
git-svn-id: trunk@33522 -
This commit is contained in:
parent
4afb96a1cb
commit
e566fe1938
@ -4231,7 +4231,7 @@ type
|
|||||||
if c=' ' then
|
if c=' ' then
|
||||||
begin
|
begin
|
||||||
current_scanner.skipspace;
|
current_scanner.skipspace;
|
||||||
if c='}' then
|
if c in ['*','}'] then
|
||||||
state:=fallback
|
state:=fallback
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
@ -4244,7 +4244,7 @@ type
|
|||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if c='}' then
|
if c in ['*','}'] then
|
||||||
state:=fallback
|
state:=fallback
|
||||||
else
|
else
|
||||||
state:=c;
|
state:=c;
|
||||||
|
Loading…
Reference in New Issue
Block a user