From 0c7c5d3aebc38eb05611957182c84ab4674e42e8 Mon Sep 17 00:00:00 2001 From: Junjie Mao Date: Sat, 29 Jan 2022 17:42:52 +0800 Subject: [PATCH] xforms: always put a newline at the end of config entries Today the config.h/config.mk generators do not put a newline after an entry without a value, which causes the generated files ill-formed. This patch fixes the issue by putting a newline at the end of an entry unconditionally. Tracked-On: #6355 Signed-off-by: Junjie Mao --- misc/config_tools/xforms/config.h.xsl | 5 ++-- misc/config_tools/xforms/config.mk.xsl | 3 +- misc/config_tools/xforms/config_common.xsl | 32 +++++++++++----------- 3 files changed, 19 insertions(+), 21 deletions(-) diff --git a/misc/config_tools/xforms/config.h.xsl b/misc/config_tools/xforms/config.h.xsl index 05f431a8d..25cb2939e 100644 --- a/misc/config_tools/xforms/config.h.xsl +++ b/misc/config_tools/xforms/config.h.xsl @@ -43,18 +43,17 @@ - + - - + diff --git a/misc/config_tools/xforms/config.mk.xsl b/misc/config_tools/xforms/config.mk.xsl index a08b69ea8..93b27e793 100644 --- a/misc/config_tools/xforms/config.mk.xsl +++ b/misc/config_tools/xforms/config.mk.xsl @@ -41,13 +41,12 @@ - - + diff --git a/misc/config_tools/xforms/config_common.xsl b/misc/config_tools/xforms/config_common.xsl index 8f8999b25..584989337 100644 --- a/misc/config_tools/xforms/config_common.xsl +++ b/misc/config_tools/xforms/config_common.xsl @@ -208,26 +208,26 @@ + + 0b + + + + + + + + + + + + + + - - 0b - - - - - - - - - - - - - -