stage3/lvalue_check.cc
changeset 528 6510ee2eaab9
parent 527 1d83209aabfe
child 529 629105224e57
--- a/stage3/lvalue_check.cc	Sat Apr 21 17:42:07 2012 +0200
+++ b/stage3/lvalue_check.cc	Mon Apr 23 16:44:05 2012 +0100
@@ -61,6 +61,7 @@
 
 lvalue_check_c::lvalue_check_c(symbol_c *ignore) {
 	error_count = 0;
+	current_il_operand = NULL;
 }
 
 lvalue_check_c::~lvalue_check_c(void) {
@@ -405,15 +406,6 @@
 	return NULL;
 }
 
-void *lvalue_check_c::visit(S1_operator_c *symbol) {
-	verify_is_lvalue(current_il_operand);
-	return NULL;
-}
-
-void *lvalue_check_c::visit(R1_operator_c *symbol) {
-	verify_is_lvalue(current_il_operand);
-	return NULL;
-}
 
 /***************************************/
 /* B.3 - Language ST (Structured Text) */