Hi Steve,

thanks, tried it with expr4.patch and option --rand and got some errors:

ERROR: Syntax: $b~2 & length()>=1 {name 'n195'} [0x2]
  Message: Error: (lines:1): Expression cannot be indexed
ERROR: Syntax: $b~1 | ($b=* | $a>=2) & length()>=2 {name 'n257'} [0x2]
  Message: Error: (lines:1): Expression cannot be indexed
ERROR: Syntax: $a~2 & !($b~1) & length()>=2 {name 'n311'} [0x2]
  Message: Error: (lines:1): Expression cannot be indexed
ERROR: Syntax: (($b>=2 | !($b!=2)) & $b!=2 | $a=2 & $b>=2) & length()>=2 {name 
'n339'} [0x2]
  Message: Error: (lines:1): Expression cannot be indexed
ERROR: Syntax: length()>=2 & $a<2 {name 'n486'} [0x2]
  Message: Error: (lines:1): Expression cannot be indexed
ERROR: Syntax: length()>=2 & $b~1 & $b<2 {name 'n500'} [0x2]
  Message: Error: (lines:1): Expression cannot be indexed

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Steve 
Ratcliffe <st...@parabola.me.uk>
Gesendet: Sonntag, 15. April 2018 11:15:41
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] area size in r4160

Hi Gerd

> I think you mentioned this before but I can't find it. What / where is the 
> RulesTest program?

It is test/main/RulesTest.java

I run it something like:

   java -cp build/test:build/classes:lib/test/* main.RulesTest --use-length

There are useful options such as --errors to only show errors.

Ignore the help text that says that there may be errors when
using the --use-length option.  This is no longer true and there
should be no errors ever.
The options should be on by default.  I will fix that.

Steve



_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to