Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-04

jcfidelazarus JEDI Code Formatter cannot handle generic and specialize keywords

6 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Ring
to Aradeonas

Please also add record Helper (and most likely class helper) to the list of things not working. (Checked moments ago on lazarus trunk)

Michael

Aradeonas wrote 12 lines
What Lazarus version? Regards, Ara -- http://www.fastmail.com - Choose from over 50 domains or use your own -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160420/c6168359/attachment.html>

Reply by email

Graeme Geldenhuys
to Dennis: I seems that when a unit has either of these 2 keywords, the entire unit cannot be…
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

Reply by email