From 540bb5afa69a38bd0d3f6eba143fa0fa7a538db1 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Tue, 5 Jul 2016 07:56:18 -0700 Subject: [PATCH] Revert "Update parse_misc.cc" This reverts commit 6d06e9351acb847fcfc9f79ceafe960c3531b06e. --- vhdlpp/parse_misc.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vhdlpp/parse_misc.cc b/vhdlpp/parse_misc.cc index 86c8e90cb..eefe5296b 100644 --- a/vhdlpp/parse_misc.cc +++ b/vhdlpp/parse_misc.cc @@ -121,11 +121,7 @@ const VType* calculate_subtype_array(const YYLTYPE&loc, const char*base_name, Expression*lef = tmpr->left(); Expression*rig = tmpr->right(); return calculate_subtype_array(loc, base_name, scope, - lef, - (tmpr->direction() == ExpRange::range_dir_t::DOWNTO - ? true - : false), - rig); + lef, tmpr->direction(), rig); } sorrymsg(loc, "Don't know how to handle multiple ranges here.\n");