aboutsummaryrefslogtreecommitdiffstats
path: root/doxygen
diff options
context:
space:
mode:
Diffstat (limited to 'doxygen')
-rw-r--r--doxygen/Makefile1
-rwxr-xr-xdoxygen/siphon_process.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/doxygen/Makefile b/doxygen/Makefile
index 7bdc8ee9736..8e916526141 100644
--- a/doxygen/Makefile
+++ b/doxygen/Makefile
@@ -19,6 +19,7 @@
# These should be passed in by the root Makefile
WS_ROOT ?= $(CURDIR)/..
BR ?= $(WS_ROOT)/build-root
+OS_ID ?= $(shell grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
# Package dependencies
DOC_DEB_DEPENDS = doxygen graphviz python-pyparsing
diff --git a/doxygen/siphon_process.py b/doxygen/siphon_process.py
index 80add4b9a44..82a166d31b5 100755
--- a/doxygen/siphon_process.py
+++ b/doxygen/siphon_process.py
@@ -181,7 +181,7 @@ def getMacroInitializerBNF():
expr = (literal | var) # TODO
- member = pp.Combine(dot + varName + pp.Optional("[" + arrayIndex + "]"))
+ member = pp.Combine(dot + varName + pp.Optional("[" + arrayIndex + "]"), adjacent=False)
value = (expr | cs)
entry = pp.Group(pp.Optional(member + equals, default="") + value)