[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

[bug report][patch] logo.src error



 Hi all,

The following minimal file fails to pass wml pass 3 :


parafond(dmentre):~/<1>home-page/prive [67] cat bug.wml
#use wml::std::logo
 
<logo name="wml">


The error :

parafond(dmentre):~/<1>home-page/prive [66] wml bug.wml
ePerl:Error: Perl parsing error (interpreter rc=2)
 
---- Contents of STDERR channel: ---------
syntax error at /tmp/wml.15090.tmp1 line 75, near "my"
Execution of /tmp/wml.15090.tmp1 aborted due to compilation errors.
------------------------------------------
** WML:Break: Error in Pass 3 (rc=74).


I traced it to wml_include/std/logo.src. Here is the patch to correct a
(fatal) typo :


--- wml_include/std/logo.src.old        Fri Nov  6 23:41:23 1998
+++ wml_include/std/logo.src    Fri Nov  6 23:43:05 1998
@@ -19,7 +19,7 @@
     my $name   = "<get-var name>";
     my $base   = "<get-var base>";
     my $file   = "<get-var file>";
-    my $target = "<get-var target>"
+    my $target = "<get-var target>";
 
     my $giffile  = "$WML_LOC_LIBDIR/aux/logos/logo-$name.gif";
     my $infofile = "$WML_LOC_LIBDIR/aux/logos/logo-$name.info";


People who track 1.6.8preXX patches should integrate it (I think ;).

d.
-- 
 David.Mentre@irisa.fr -- http://www.irisa.fr/prive/dmentre/
 Opinions expressed here are only mine.
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com