[Pkg-jed-devel] jed-extra does not build

G. Milde g.milde@web.de
Mon, 25 Apr 2005 13:18:49 +0200


On 22.04.05, Jörg Sommer wrote:

> second: there is a strange line on jed-mode/mupad/mupad.sl (line 118)
> 
>   insert_spaces (goal--, goal);

Thanks for the bug report.

> jed -batch -n -l ./compile-files.sl
> /tmp/xx/jed-extra-1.0/mode/mupad/mupad.sl:118: Expecting ')': found '--'
> /tmp/xx/jed-extra-1.0/mode/mupad/mupad.sl:118:<top-level>:Syntax Error

mupad.sl byte-compiles here (with Jed Version: 0.99.16 S-Lang Version:
1.4.9).
 
> I don't know what it should do and the same line in matlab.sl (line 121)
> look diffent
> 
>    goal--;
>    insert_spaces (goal);

In my version, matlab still has the faulty line. A grep in the sources
shows:

/home/milde/.jed/lib/mupad.sl:118:  insert_spaces (goal--, goal);
/usr/share/jed/lib/f90.sl:132:	insert_spaces (goal--, goal);
/usr/share/jed/lib/f90.sl:299:	insert_spaces (goal--, goal);
/usr/share/jed/lib/fortran.sl:109:	insert_spaces (goal--, goal);
/usr/share/jed/lib/matlab.sl:121:  insert_spaces (goal--, goal);


so I suppose the standard modes got fixed with the update to SLang 2.

I'll follow suit.

Günter

-- 
G.Milde web.de