[Gretl-devel] Re: problem building function packages with superfluous spaces in spec file

2024-04-16 Thread Cottrell, Allin
On Tue, Apr 16, 2024 at 2:44 PM Sven Schreiber
 wrote:
>
> Am 16.04.2024 um 20:40 schrieb Cottrell, Allin:
>
> On Sat, Apr 6, 2024 at 5:27 PM Sven Schreiber
>  wrote:
>
> could it be that gretl chokes a little when in the .spec file of a
> function package the public functions are separated by more than one space?
>
> Working on the SVEC_GUI package, I see there was (has been forever?) a
> double blank in the line:
>
> public = GUI_SVEC GUI_plot_SVEC # line already fixed now
>
> When using gretlcli.exe (on Windows, obviously) to build the package, I
> don't get an error message, but I don't get the message "validated
> successfully" either, and the resulting gfn file appears to be broken.
>
> I tried replicating this on both Linux and Windows -- injecting extra
> spaces at all points in the spec file line -- and could not trigger a
> problem.
>
> Hm, weird. But thanks for testing!

Just a thought: if the extra 'space' was actually some other
character, such as non-breaking space, that could mess up the parsing.

Allin
___
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/


[Gretl-devel] Re: problem building function packages with superfluous spaces in spec file

2024-04-16 Thread Sven Schreiber

Am 16.04.2024 um 20:40 schrieb Cottrell, Allin:

On Sat, Apr 6, 2024 at 5:27 PM Sven Schreiber
  wrote:

could it be that gretl chokes a little when in the .spec file of a
function package the public functions are separated by more than one space?

Working on the SVEC_GUI package, I see there was (has been forever?) a
double blank in the line:

public = GUI_SVEC GUI_plot_SVEC # line already fixed now

When using gretlcli.exe (on Windows, obviously) to build the package, I
don't get an error message, but I don't get the message "validated
successfully" either, and the resulting gfn file appears to be broken.

I tried replicating this on both Linux and Windows -- injecting extra
spaces at all points in the spec file line -- and could not trigger a
problem.


Hm, weird. But thanks for testing!

-sven___
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/


[Gretl-devel] Re: problem building function packages with superfluous spaces in spec file

2024-04-16 Thread Cottrell, Allin
On Sat, Apr 6, 2024 at 5:27 PM Sven Schreiber
 wrote:
>
> Hi,
>
> could it be that gretl chokes a little when in the .spec file of a
> function package the public functions are separated by more than one space?
>
> Working on the SVEC_GUI package, I see there was (has been forever?) a
> double blank in the line:
>
> public = GUI_SVEC GUI_plot_SVEC # line already fixed now
>
> When using gretlcli.exe (on Windows, obviously) to build the package, I
> don't get an error message, but I don't get the message "validated
> successfully" either, and the resulting gfn file appears to be broken.

I tried replicating this on both Linux and Windows -- injecting extra
spaces at all points in the spec file line -- and could not trigger a
problem.

Allin
___
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/