Changeset 6534 in josm for trunk/data/validator


Ignore:
Timestamp:
2013-12-26T01:43:30+01:00 (6 years ago)
Author:
simon04
Message:

fix #9470 see #9414 - make "layer tag with + sign" auto fixable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/numeric.mapcss

    r6532 r6534  
    33*[layer =~ /\+.*/] {
    44  throwWarning: tr("layer tag with + sign");
     5  fixAdd: concat("layer=", replace(tag("layer"), "+", ""));
    56  assertMatch: "node layer=+1";
    67  assertNoMatch: "node layer=1";
Note: See TracChangeset for help on using the changeset viewer.