Fix typo.
Fix typo.
1.1 --- a/src/compiler/NameBinding.cpp Wed Dec 26 17:14:12 2012 -0800
1.2 +++ b/src/compiler/NameBinding.cpp Wed Dec 26 17:18:15 2012 -0800
1.3 @@ -577,7 +577,7 @@
1.4 }
1.5
1.6 // If we're in global scope, and we received a |const| qualifier, then
1.7 - // we extend this to array reference as well. This is to sort of mimic
1.8 + // we extend this to array references as well. This is to sort of mimic
1.9 // SP1 functionality, but also means that you cannot have changeable
1.10 // const pointers in global scope.
1.11 if ((node->quals() & TypeQual_Const) &&
1.12 @@ -586,8 +586,6 @@
1.13 {
1.14 if ((type = zone_->types()->qualify(type, TypeQual_Const)) == NULL)
1.15 return;
1.16 - if ((type = zone_->types()->qualify(type, TypeQual_Const)) == NULL)
1.17 - return;
1.18 }
1.19
1.20 // If the node already has a symbol (meaning it was a global), then