2012/4/22, Kal Conley <[email protected]>:
> Hi,
> I would like to get a clarification on the proposed ::subpart syntax.
> Would happens in cases with combinators? In particular the following is
> valid:
>
> way > node::A {

Exactly, perfectly valid.

> but what about:
>
> way::B > node::A {
>
> I think these cases should be syntax errors. How are parsers in the wild
> dealing with this currently?

Yes, it doesn't make sense to add a subpart to the parent object. In
JOSM, this is currently ignored, but it would probably be better to
show a warning or an error.

Paul

_______________________________________________
Mapcss mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/mapcss

Reply via email to