- From: Anne van Kesteren <annevk@opera.com>
- Date: Mon, 27 Apr 2009 16:20:28 +0200
- To: "Max Froumentin" <maxfro@opera.com>
- Cc: "WebApps WG" <public-webapps@w3.org>
On Mon, 27 Apr 2009 15:56:42 +0200, Max Froumentin <maxfro@opera.com> wrote: > The grammar in http://dev.w3.org/2006/webapi/WebIDL/ prevents > declarations such as: > > const DOMString foo = "bar"; > > because the "ConstExp" rule [1] only allows a number, or "TRUE" or > "FALSE". Is it an omission? What is the use case? Web APIs usually work with numbers (if they have constants at all). > [1] http://dev.w3.org/2006/webapi/WebIDL/#prod-ConstExpr -- Anne van Kesteren http://annevankesteren.nl/
Received on Monday, 27 April 2009 14:21:11 UTC