Ignore:
Timestamp:
2014-01-03T17:14:36+01:00 (6 years ago)
Author:
simon04
Message:

see #9516 - Replace BuildingInBuilding by a corresponding MapCSS test

File:
1 edited

Legend:

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

    r6609 r6611  
    472472            key=<IDENT> w()
    473473            ( <EQUAL> val=expression() )?
    474             { ins.add(new Instruction.AssignmentInstruction(key.image, val == null ? true : val)); }
     474            { ins.add(new Instruction.AssignmentInstruction(key.image, val == null ? true : val, true)); }
    475475            ( <RBRACE> { return ins; } | <SEMICOLON> w() )
    476476        )
     
    480480            LOOKAHEAD( float_array() w() ( <SEMICOLON> | <RBRACE> ) )
    481481                val=float_array()
    482                 { ins.add(new Instruction.AssignmentInstruction(key.image, val)); }
     482                { ins.add(new Instruction.AssignmentInstruction(key.image, val, false)); }
    483483                w()
    484484                ( <RBRACE> { return ins; } | <SEMICOLON> w() )
     
    486486            LOOKAHEAD( expression() ( <SEMICOLON> | <RBRACE> ) )
    487487                val=expression()
    488                 { ins.add(new Instruction.AssignmentInstruction(key.image, val)); }
     488                { ins.add(new Instruction.AssignmentInstruction(key.image, val, false)); }
    489489                ( <RBRACE> { return ins; } | <SEMICOLON> w() )
    490490            |
    491                 val=readRaw() w() { ins.add(new Instruction.AssignmentInstruction(key.image, val)); }
     491                val=readRaw() w() { ins.add(new Instruction.AssignmentInstruction(key.image, val, false)); }
    492492        )
    493493    )*
Note: See TracChangeset for help on using the changeset viewer.