mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 19:29:24 +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
|
||||
begin
|
||||
current_scanner.skipspace;
|
||||
if c='}' then
|
||||
if c in ['*','}'] then
|
||||
state:=fallback
|
||||
else
|
||||
begin
|
||||
@ -4244,7 +4244,7 @@ type
|
||||
end;
|
||||
end
|
||||
else
|
||||
if c='}' then
|
||||
if c in ['*','}'] then
|
||||
state:=fallback
|
||||
else
|
||||
state:=c;
|
||||
|
Loading…
Reference in New Issue
Block a user