I couldn’t actually reproduce the problem with PDL::IO::Matlab, but I could 
with PDL::Fit::Levmar. It arose from a change for 2.019_03 in pp_line_numbers, 
to insert spaces before any “=” at start of lines. This was because with 
newlines being inserted everywhere, some assignment or comparison operations 
then looked like POD.

Now those operations in the .pd files have simply had a space inserted before 
any “=” (they do occur in the middle of .pd lines), and the code to 
automatically insert spaces before all “=” has been removed again.

These changes have now been released as PDL 2.052, and should fix these 
problems. Please give it a go!

Best regards,
Ed

From: Ingo Schmid<mailto:ingo...@gmx.at>
Sent: 22 June 2021 11:55
To: 
pdl-gene...@lists.sourceforge.net<mailto:pdl-gene...@lists.sourceforge.net>; 
pdl-devel<mailto:pdl-devel@lists.sourceforge.net>
Subject: Re: [Pdl-devel] [Pdl-general] PDL::Drawing::Prima /


Hi

The same error on PDL::IO::Matlab. So I guess it has to do with PP.

Code is not inside a function (maybe last function was ended by a blank line  
followed by a statement on column one?) in Matlab.xs, line 434
Ingo
On 22.06.21 11:41, Ingo Schmid wrote:

I've just seen the same trobule with whitespce in PDL::Fit::Levmar where I am 
not able to quickly fix it.

Ingo

PS: There's a pull request for P:D:P.


On 22.06.21 10:27, Ingo Schmid wrote:

Hi,

I tried updating PDL::Graphics::Prima and ran into two issues.

One is, that there is an API change in Prima wihch is fairly easy to fix. I 
will file an issue with pull request or patch.\

The second  issue is that the resulting module cannot be loaded due to a 
missing boot symbol:

Error:  Can't find 'boot_PDL__Drawing__Prima' symbol in 
/data/ingo/git/PDL-Drawing-Prima/blib/arch/auto/PDL/Drawing/Prima/Prima.so

The boot code never makes it from the .xs to the c file, The issue is white 
space around the code string in pp_add_boot. I think the parser could to a 
better job here?

Ingo






_______________________________________________

pdl-devel mailing list

pdl-devel@lists.sourceforge.net<mailto:pdl-devel@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/pdl-devel




_______________________________________________

pdl-general mailing list

pdl-gene...@lists.sourceforge.net<mailto:pdl-gene...@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/pdl-general

_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to