<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Bernd,<br><br>please send the file with the error. I assume the line count is completely wrong<br>in case of these stack 0 errors.<br><br>Gerd<br><br><div>&gt; From: weigelt.bernd@web.de<br>&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Date: Fri, 21 Mar 2014 20:11:14 +0100<br>&gt; Subject: [mkgmap-dev] mkgmap --check-styles and line count<br>&gt; <br>&gt; Hi<br>&gt; <br>&gt; my style include a lot of rules like this:<br>&gt; <br>&gt; highway=footway            [0x1200d resolution 23-23 continue]<br>&gt; highway=footway            [0x1100d resolution 24 continue]<br>&gt; highway=footway &amp; <br>&gt;               (bicycle=designated | <br>&gt;                bicycle=permissive | <br>&gt;                bicycle=official |<br>&gt;                bicycle=yes)    [0x0a resolution 24 road_class=0 road_speed=1]<br>&gt; highway=footway        [0x0d resolution 24 road_class=0 road_speed=0]<br>&gt; <br>&gt; IMHO mkgmap count four lines, is that correct?<br>&gt; <br>&gt; <br>&gt; now it is difficult to find the error, if the files includes up to 700 lines, i <br>&gt; think, there are some larger styles around the world<br>&gt; mkgmap tells:<br>&gt; Error in style: Error: (lines:393): Stack size is 0<br>&gt; but the line with the error is line 485 in the style file<br>&gt; <br>&gt; my error was to use '[' instead '(' ;-)<br>&gt; <br>&gt; <br>&gt; <br>&gt; Bernd<br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; mkgmap-dev mailing list<br>&gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                               </div></body>
</html>