Changeset 6561 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj
- Timestamp:
- 2013-12-29T12:43:55+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj
r6560 r6561 463 463 ( 464 464 ( 465 <SET> w() key=<IDENT> w() 466 ( <EQUAL> val=expression() )? 467 { ins.add(new Instruction.AssignmentInstruction(key.image, val == null ? true : val)); } 468 ( <RBRACE> { return ins; } | <SEMICOLON> w() ) 465 <SET> w() 466 (<FULLSTOP>)? // specification allows "set .class" to set "class". we also support "set class" 467 key=<IDENT> w() 468 ( <EQUAL> val=expression() )? 469 { ins.add(new Instruction.AssignmentInstruction(key.image, val == null ? true : val)); } 470 ( <RBRACE> { return ins; } | <SEMICOLON> w() ) 469 471 ) 470 |472 | 471 473 key=<IDENT> w() <COLON> w() 472 474 (
Note:
See TracChangeset
for help on using the changeset viewer.
