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

mp4h warning in 2.0.8


when using new WML 2.0.8 I get this warning:

wml -DTEMPLATE=template_li.wml -O2 -o
/dos/d/home/html_public/howtos.html howtos.wml
/usr/lib/wml/exec/wml_p2_mp4h: WARNING:howtos.wml:0: variable stack not
empty, it means <preserve> pushed more items than <restore> popped

Finally I found out it is caused by:

#use wml::std::toc style=ul
<define-tag toc_section endtag=required whitespace=delete>
<when <eq %0 2>>


[[s/<a href/<li><a href/g]]

This construct (programmed with help from Denis) builds a toc
from <h2> tags only. It worked without warning in 2.0.7. I have
looked up the WML source toc.wml, to solve the problem, but
this is to much for me. The generated HTML code works well,
so it's not a problem for me. But it may be of interest anyway.


|=| Werner Heuser = Keplerstr. 11A = D-10589 Berlin = Germany
|=| <wehe_AT_mobilix.org>      T. 0049 - (0)30 - 349 53 86
|=| http://MobiliX.org         UniX on Mobile Systems: HOWTOs,Software
|=| http://Xtops.DE            Laptops+PDAs pre-installed with UniX
|*| This is no time for phony rhetoric -- Lou Reed
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com