Fix bug: initialise un-initialised variable.
authormjsousa <msousa@fe.up.pt>
Thu, 10 May 2012 19:20:18 +0100
changeset 555 da6e089d0006
parent 554 476d595368af
child 556 af3e378e98f9
Fix bug: initialise un-initialised variable.
stage3/lvalue_check.cc
--- a/stage3/lvalue_check.cc	Thu May 10 19:09:02 2012 +0100
+++ b/stage3/lvalue_check.cc	Thu May 10 19:20:18 2012 +0100
@@ -71,6 +71,7 @@
 
 lvalue_check_c::lvalue_check_c(symbol_c *ignore) {
 	error_count = 0;
+	current_display_error_level = 0;
 	current_il_operand = NULL;
 }