[css3-value] calc grammar

Hi,
Just to point that the calc grammar [1] is not LR(0) but LR(1), because 
(as often ;) ) of S in 3 productions:

calc    : "calc(" S* sum _S*_ ")";
sum     : product [ _S+_ [ "+" | "-" ] S+ product ]*;
product : unit [ _S*_ [ "*" S* unit | "/" S* NUMBER ] ]*;

[1] http://www.w3.org/TR/2012/CR-css3-values-20120828/#calc-syntax

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves

Received on Thursday, 13 September 2012 14:42:55 UTC