Fix comment. (thanks go to Manuele for pointing it put).
--- a/stage3/stage3.cc Mon Apr 23 16:50:10 2012 +0100
+++ b/stage3/stage3.cc Tue Apr 24 19:17:53 2012 +0100
@@ -40,12 +40,15 @@
#include "print_datatypes_error.hh"
#include "lvalue_check.hh"
+
+
static int flow_control_analysis(symbol_c *tree_root){
flow_control_analysis_c flow_control_analysis(tree_root);
tree_root->accept(flow_control_analysis);
return 0;
}
+
/* Type safety analysis assumes that flow control analysis has already been completed,
* so be sure to call flow_control_analysis() before calling this function
*/
@@ -60,8 +63,8 @@
}
-/* Type safety analysis assumes that flow control analysis has already been completed,
- * so be sure to call flow_control_analysis() before calling this function
+/* Left value checking assumes that datat type analysis has already been completed,
+ * so be sure to call type_safety() before calling this function
*/
static int lvalue_check(symbol_c *tree_root){
lvalue_check_c lvalue_check(tree_root);