[Lazarus] TMask revisited

Bart bartjunk64 at gmail.com
Sun Oct 24 17:47:35 CEST 2021


On Sun, Oct 24, 2021 at 4:26 PM José Mejuto via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

> > @José: is this indeed as intended?

> No, in fact escaping was introduced to allow "[a\-]" to be interpreted
> as literal set "a-". I must check my test cases, maybe a simple missing
> if. Please let me check it tomorrow, monday.

OK, thanks


About mocRange and mocSet (previously AdditionalChar).
Since ranges allow/include sets (e.i. [abc] is a valid range), and the
[mocSet] is only used in Compile, but there mocRange follows the same
code-path:
IMO mocSet can be removed.
Unless, of course [abc] is NOT supposed to be a valid range...

-- 
Bart


More information about the lazarus mailing list