On Tue, Nov 17, 2009 at 10:39 PM, Darin Adler <da...@apple.com> wrote:

> On Nov 16, 2009, at 7:54 PM, Chris Jerdonek wrote:
>
>> So, I was wondering if we can clarify the rule to apply only to the 
>> outermost namespace declaration.
>
> Yes, I think we can.
>
>> (Consecutive declarations like "namespace JSC { namespace WREC {" would be 
>> treated as a single declaration for the purpose of this rule.)
>
> Neat idea, I think.

Thanks.  The idea stems from a syntactic sugar for "using" blocks in
C# (different meaning of "using" from C++).  Instead of doing this--

using (Resource resource1 = new Resource())
{
        using (Resource resource2 = new Resource())
        {
                ...
        }
}

You can do this:

using (Resource resource1 = new Resource())
using (Resource resource2 = new Resource())
{
        ...
}

--Chris
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to