[Lazarus] Code explorer implementation

Sven Barth pascaldragon at googlemail.com
Sun Sep 15 04:03:23 CEST 2019


Ryan Joseph via lazarus <lazarus at lists.lazarus-ide.org> schrieb am Sa., 14.
Sep. 2019, 20:18:

>
>
> > On Sep 14, 2019, at 2:07 PM, Michael Van Canneyt via lazarus <
> lazarus at lists.lazarus-ide.org> wrote:
> >
> > By default, FPC also does not allow C style operators.
> >
> > You need to provide the -Sc command-line flag to the parser or set the
> appropriate flag manually on the parser object.
>
> I tried using -Mobjfpc because I know c style operators are a mode switch
> but that didn’t work. I guess modes are not supported in the parser and we
> need to use all the various -S flags?
>

As I already wrote some time ago C-style operators are *not* enabled by
default in any of the modes. Also they aren't a modeswitch either. They are
simply switched on inside the default fpc.cfg using the -Sc option. Thus,
as Michael wrote, you need to pass that parameter as well or explicitly set
the corresponding flag of the parser object.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190915/ab0e708d/attachment-0001.html>


More information about the lazarus mailing list