* Patch from Michalis Kamburelis to fix scanning of $ELSE (bug ID 31007)

git-svn-id: trunk@34965 -
This commit is contained in:
michael 2016-11-26 13:32:52 +00:00
parent 2f1addbb11
commit 629d8277da

View File

@ -344,7 +344,7 @@ begin
hs^:='';
end
else
if (Copy(hs^,2,6)='$ELSE') then
if (Copy(hs^,2,5)='$ELSE') then
begin
skip[level]:=skip[level-1] or (not skip[level]);
hs^:='';