From 11682fc7eb8aa45c6ff0e858527d22aad1445810 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Thu, 18 Apr 2013 18:18:40 -0700 Subject: [PATCH] Harmless cleanup of comments / initialization warnings. --- pform_package.cc | 4 +++- vhdlpp/expression_elaborate.cc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pform_package.cc b/pform_package.cc index d8ebdf8ff..a4ed9c832 100644 --- a/pform_package.cc +++ b/pform_package.cc @@ -175,7 +175,9 @@ data_type_t* pform_test_type_identifier(PPackage*pkg, const char*txt) } /* - * The lexor uses this function to know if the + * The lexor uses this function to know if the identifier names the + * package. It will call this a PACKAGE_IDENTIFIER token in that case, + * instead of a generic IDENTIFIER. */ PPackage* pform_test_package_identifier(const char*pkg_name) { diff --git a/vhdlpp/expression_elaborate.cc b/vhdlpp/expression_elaborate.cc index ffc2301b0..a201de334 100644 --- a/vhdlpp/expression_elaborate.cc +++ b/vhdlpp/expression_elaborate.cc @@ -443,7 +443,7 @@ int ExpAggregate::elaborate_expr_array_(Entity*ent, Architecture*arc, const VTyp // associated with them. aggregate_[cdx].choice = 0; aggregate_[cdx].expr = ecur->extract_expression(); - aggregate_[cdx].alias_flag; + aggregate_[cdx].alias_flag = false; cdx += 1; } else { ecur->map_choices(&aggregate_[cdx]);