[Lazarus] TP-like nested comment handling
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Apr 3 15:02:31 CEST 2018
On Sun, 1 Apr 2018 19:37:13 +0200
Florian Klaempfl via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> I am playing with some old code which assumes TP-like handling of nested
> comments: i.e. there is only one level of nested comments, the first
> comment limiter closes a comment. However, Lazarus handles comments like
> FPC: it counts the nesting level and does syntax highlighting
> accordingly. Is there any option I am missing so I get correct syntax
> highlighting for TP-like nested comment handling?
Here this is highlighted and parsed correctly:
{$mode tp}
{ { }
begin
end.
How do you tell Lazarus that the unit is tp mode?
Mattias
More information about the Lazarus
mailing list