[phc-internals] [phc commit] r1425 - trunk/src/ast_to_hir

codesite-noreply at google.com codesite-noreply at google.com
Thu Jul 3 21:34:05 IST 2008


Author: paul.biggar
Date: Thu Jul  3 13:30:17 2008
New Revision: 1425

Modified:
   trunk/src/ast_to_hir/AST_shredder.cpp

Log:
Remove attribute when its no longer needed (the saturn branch needs 
this - it doesnt know what to do with object attributes).


Modified: trunk/src/ast_to_hir/AST_shredder.cpp
==============================================================================
--- trunk/src/ast_to_hir/AST_shredder.cpp	(original)
+++ trunk/src/ast_to_hir/AST_shredder.cpp	Thu Jul  3 13:30:17 2008
@@ -362,6 +362,7 @@
 {
 	Variable* temp = fresh_var("TSie");
 	Variable* old = dynamic_cast<Variable*>(in->attrs->get("phc.ast_shredder.old_error_level"));
+	in->attrs->erase ("phc.ast_shredder.old_error_level");
 	assert(old);
 	
 	(*pieces


More information about the phc-internals mailing list