Re: [Lazarus] jcfidelazarus JEDI Code Formatter cannot handle generic and specialize keywords

2016-04-20 Thread Graeme Geldenhuys
On 2016-04-20 09:28, Graeme Geldenhuys wrote:
> I haven't checked myself, but has the JEDI Code Formatter been
> rewritten to use the fcl-parser


Seems Juha just answered that for me. :)


Regards,
  Graeme


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] jcfidelazarus JEDI Code Formatter cannot handle generic and specialize keywords

2016-04-20 Thread Graeme Geldenhuys
On 2016-04-20 04:10, Dennis wrote:
> I seems that when a unit has either of these 2 keywords, the entire unit 
> cannot be formatted by JEDI Code Formatter.

I haven't checked myself, but has the JEDI Code Formatter been rewritten
to use the fcl-parser, or does it still use its own parser? If it uses
it's own parser, that could be the problem.

I remember discussions from years ago that fcl-parser should really be
used in JEDI Code Formatter, thus it automatically keeps up with the
latest syntax changes made by FPC. The fcl-parser is well maintained,
but other parsers might not be.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] jcfidelazarus JEDI Code Formatter cannot handle generic and specialize keywords

2016-04-20 Thread Juha Manninen
Patches are welcome to the current JCF parser or to implement a new
formatter based on CodeTools.
  http://bugs.freepascal.org/view.php?id=19754

Actually basic generics syntax already works.
This JCF parser however must be updated separately when new compiler
features come out, and it has no maintainer.
Maybe some of you guys can become a maintainer?

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] jcfidelazarus JEDI Code Formatter cannot handle generic and specialize keywords

2016-04-20 Thread Aradeonas
What Lazarus version?
 
Regards,
Ara
 
 

-- 
http://www.fastmail.com - Choose from over 50 domains or use your own

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus