summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-09-03 17:46:57 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-09-03 17:46:57 (GMT)
commit6b97d107cc2c48dddfb6cac8a21debdf1ebf8e90 (patch)
tree066bcbc2c287340bf8bfed8ff55e10f84bc857de /src/util.cpp
parentd65f3313739177d4d8ce27f607edf9517dc66de3 (diff)
downloadDoxygen-6b97d107cc2c48dddfb6cac8a21debdf1ebf8e90.zip
Doxygen-6b97d107cc2c48dddfb6cac8a21debdf1ebf8e90.tar.gz
Doxygen-6b97d107cc2c48dddfb6cac8a21debdf1ebf8e90.tar.bz2
VHDL-2008 and arrays on unconstrained elements
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 781a678..cf1c1f1 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1652,7 +1652,9 @@ static const char virtualScope[] = { 'v', 'i', 'r', 't', 'u', 'a', 'l', ':' };
QCString removeRedundantWhiteSpace(const QCString &s)
{
static bool cliSupport = Config_getBool("CPP_CLI_SUPPORT");
- if (s.isEmpty()) return s;
+ static bool vhdl = Config_getBool("OPTIMIZE_OUTPUT_VHDL");
+
+ if (s.isEmpty() || vhdl) return s;
static GrowBuf growBuf;
//int resultLen = 1024;
//int resultPos = 0;