On Mon, Apr 23, 2012 at 3:28 PM, Simon Sapin <simon.sapin@kozea.fr> wrote: > Le 23/04/2012 23:46, Tab Atkins Jr. a écrit : >> <declaration> matches the declaration production in the current CSS2.1 >> grammar, but capped with a ';' token at the end. > > > Yes, except if the declaration is followed by '}' (the end of the block). In > this case, the ';' is optional. And consecutive ';' without a declaration > in-between are also allowed. > > Can we make a definition with this kind of exceptions? The parser should handle that automatically - when it is parsing a declaration, if it encounters an unmatched close-brace or an at-rule, it should imply the end of the declaration. I haven't gotten to that part of Syntax yet. ~TJReceived on Monday, 23 April 2012 23:04:39 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:13 UTC