* tscannerfile.readoptionalstate can handle also switches enclosed in (* ... *) comments

git-svn-id: trunk@33522 -
This commit is contained in:
florian 2016-04-15 19:08:44 +00:00
parent 4afb96a1cb
commit e566fe1938

View File

@ -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;