From: Pascal Packaging Team Date: Sat, 14 Apr 2018 16:08:39 +0000 (+0100) Subject: ppdep-fix-else-handling X-Git-Tag: archive/raspbian/3.0.4+dfsg-17+rpi1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1a83b630cdf4e46eabbb2959a69b0b6d7f9bd0e8;p=fpc.git ppdep-fix-else-handling Gbp-Pq: Name ppdep-fix-else-handling.patch --- diff --git a/fpcsrc/utils/ppdep.pp b/fpcsrc/utils/ppdep.pp index 1a3204ba..79bd8da8 100644 --- a/fpcsrc/utils/ppdep.pp +++ b/fpcsrc/utils/ppdep.pp @@ -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^:='';