Ignore:
Timestamp:
2013-12-23T00:13:58+01:00 (11 years ago)
Author:
simon04
Message:

see #9414 - convert some tagchecker tests to MapCSS, extend MapCSS by test for false values

File:
1 edited

Legend:

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

    r6455 r6513  
    345345    boolean not = false;
    346346    boolean yes = false;
     347    boolean no = false;
    347348    String key;
    348349}
     
    350351    ( <EXCLAMATION> { not = true; } )?
    351352    key=tag_key()
     353    ( LOOKAHEAD(2) <QUESTION> <EXCLAMATION> { no = true; } )?
    352354    ( <QUESTION> { yes = true; } )?
    353     { return Condition.create(key, not, yes, context); }
     355    { return Condition.create(key, not, yes, no, context); }
    354356}
    355357
Note: See TracChangeset for help on using the changeset viewer.