# HG changeset patch # User David Anderson # Date 1356571095 28800 # Node ID b7d14a8b918ee5a086226ccd652b44cbdc16e635 # Parent 18f3010a358c984fc73e73d677c19cb1a18a0226 Fix typo. diff -r 18f3010a358c -r b7d14a8b918e src/compiler/NameBinding.cpp --- a/src/compiler/NameBinding.cpp Wed Dec 26 17:14:12 2012 -0800 +++ b/src/compiler/NameBinding.cpp Wed Dec 26 17:18:15 2012 -0800 @@ -577,7 +577,7 @@ } // If we're in global scope, and we received a |const| qualifier, then - // we extend this to array reference as well. This is to sort of mimic + // we extend this to array references as well. This is to sort of mimic // SP1 functionality, but also means that you cannot have changeable // const pointers in global scope. if ((node->quals() & TypeQual_Const) && @@ -586,8 +586,6 @@ { if ((type = zone_->types()->qualify(type, TypeQual_Const)) == NULL) return; - if ((type = zone_->types()->qualify(type, TypeQual_Const)) == NULL) - return; } // If the node already has a symbol (meaning it was a global), then