[Lazarus] TMask revisited

Bart bartjunk64 at gmail.com
Wed Oct 27 20:57:08 CEST 2021


On Wed, Oct 27, 2021 at 6:42 PM José Mejuto via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

> Line 780, current:
>
>        Add(TMaskParsedCode.OptionalChar);
>        Add(fCPLength, at fMask[fMaskInd]);
>        fLastOC:=TMaskParsedCode.OptionalChar;
>
> Line 780, new:
>
>        if (mocSet in fMaskOpcodesAllowed) then begin
>
>          Add(TMaskParsedCode.OptionalChar);
>          Add(fCPLength, at fMask[fMaskInd]);
>          fLastOC:=TMaskParsedCode.OptionalChar;
>
>        end else begin
>          Exception_InvalidCharMask(fMask[fMaskInd],fMaskInd);
>        end;

Applied in #63847a62.

FWIW: having a proper patchfile makes this a lot easier.
Do you have git installed or TortoiseGit?

I would much appreciate your patch for the "escaping bug", so I can
apply it to main.


-- 
Bart


More information about the lazarus mailing list