On 15 Jul 2010, at 00:05, Komяpa <[email protected]> wrote:

> 2010/7/13 Sebastian Spaeth <[email protected]>:
>> 
>>  What does "stop parsing" mean on "exit;"?
>> 
>> - Stop parsing the whole stylesheet on the first exit; instance?
>> - Stop parsing the rest of this style rule? (wwhatever comes after the exit;)
>> - Stop parsing the rest of the rules for the focal element? (most
>>  likely, I think)
>> 
>> Some more details would be helpful to implement that as intended. :-)
> 
> IMHO this thing was invented just for easier debugging of Halcyon and
> shouldn't be present in mapcss at all.

It's an optimisation, really - a little hackish addition to tell the parser to 
stop checking any rules from this point on, in circumstances where speed is 
really important. I agree it shouldn't be part of the core spec.

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

Reply via email to