From 446e825ed315cc20a249e6328f4302fd2dc7c365 Mon Sep 17 00:00:00 2001 From: Cary R Date: Sun, 14 Aug 2016 19:37:02 -0700 Subject: [PATCH] Fix space issues --- driver/main.c | 4 ++-- vhdlpp/parse_misc.cc | 6 +++--- vhdlpp/vtype.cc | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/driver/main.c b/driver/main.c index 9f68d0d9e..77836e9e5 100644 --- a/driver/main.c +++ b/driver/main.c @@ -833,8 +833,8 @@ int main(int argc, char **argv) /* Calculate the ivl_root from the path to the command. This is necessary because of the installation process on - Windows (and using some package managers such as conda). - Mostly, it is those darn drive letters, but oh + Windows (and using some package managers such as conda). + Mostly, it is those darn drive letters, but oh well. We know the command path is formed like this: D:\iverilog\bin\iverilog.exe diff --git a/vhdlpp/parse_misc.cc b/vhdlpp/parse_misc.cc index 09e2f2d8c..a26eac818 100644 --- a/vhdlpp/parse_misc.cc +++ b/vhdlpp/parse_misc.cc @@ -121,10 +121,10 @@ 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, + lef, (tmpr->direction() == ExpRange::DOWNTO - ? true - : false), + ? true + : false), rig); } diff --git a/vhdlpp/vtype.cc b/vhdlpp/vtype.cc index 9ea22c72a..d52d2e933 100644 --- a/vhdlpp/vtype.cc +++ b/vhdlpp/vtype.cc @@ -119,10 +119,10 @@ VTypeArray::VTypeArray(const VType*element, std::list*r, bool sv) for (size_t idx = 0 ; idx < ranges_.size() ; idx += 1) { ExpRange*curp = r->front(); r->pop_front(); - ranges_[idx] = range_t(curp->msb(), curp->lsb(), - (curp->direction() == ExpRange::DOWNTO - ? true - : false)); + ranges_[idx] = range_t(curp->msb(), curp->lsb(), + (curp->direction() == ExpRange::DOWNTO + ? true + : false)); } }