Le Thu, Oct 06, 2022 at 06:44:32PM +0200, Volker Schlecht a écrit :
> On 10/6/22 18:14, Landry Breuil wrote:
> > > If you send me the two files that crashed it, I'll also test with them.
> >
> > iirc that was
> > https://sourceforge.net/projects/kpcli/files/prereleases/kpcli-4.0-beta6.pl/download
> > vs https://sourceforge.net/projects/kpcli/files/kpcli-3.8.1.pl/download
>
> Ha, yes, those crash here too ... apparently in a call to ts_parse_parse().
> Might be related to
> https://github.com/ganezdragon/tree-sitter-perl/issues/18 , though I am
> really wildly guessing here.
you're right, that's probably related.
anyway, my port for 0.35 was much similar to yours, the only "relevant"
differences i had were:
SEPARATE_BUILD = Yes
WANTLIB += c ${COMPILER_LIBCXX} m pthread
(im never sure about the COMPILER_LIBCXX bit for rust ports..)
and DESCR:
-Difftastic is an experimental diff tool that compares files based
-on their syntax.
-It supports over 30 programming languages.
+Difftastic is a structural diff tool that understands syntax. It
+supports over 20 programming languages, parses the code, and then
+compares the syntax trees.
ok landry@ to import your version, maybe just improve the DESCR and
lowercase the first letter of COMMENT.
Landry