* IdentificationTable.cs: added method Remove.
authorCésar Natarén <cesar@mono-cvs.ximian.com>
Mon, 20 Sep 2004 23:16:47 +0000 (23:16 -0000)
committerCésar Natarén <cesar@mono-cvs.ximian.com>
Mon, 20 Sep 2004 23:16:47 +0000 (23:16 -0000)
svn path=/trunk/mcs/; revision=34127

mcs/class/Microsoft.JScript/Microsoft.JScript/IdentificationTable.cs

index 9c4a50e32e688e05b2ef02d3e89b6a140ae8a9b1..63b1a7d5dd7fe2ec9a1a9a41fe6c1e8b8b98f095 100644 (file)
@@ -58,7 +58,11 @@ namespace Microsoft.JScript {
                {                       
                        ((SymbolTable) stack.Peek ()).Add (id , decl);
                }
-               
+
+               internal void Remove (string id)
+               {
+                       ((SymbolTable) stack.Peek ()).Remove (id);
+               }
                //
                // It'll return the object asociated with the 'id', if found.
                //