Changeset 4280 in josm


Ignore:
Timestamp:
2011-08-04T14:31:51+02:00 (13 years ago)
Author:
bastiK
Message:

mapcss: fix zoom parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj

    r4252 r4280  
    302302            <MINUS> max=uint()
    303303        |
    304             min=uint() ( <MINUS> ( max=uint() )? )?
     304        LOOKAHEAD(2)
     305            min=uint() <MINUS> ( max=uint() )?
     306        |
     307            min=uint() { max = min; }
    305308    )
    306309    { return new Pair<Integer, Integer>(min, max); }
Note: See TracChangeset for help on using the changeset viewer.