summaryrefslogtreecommitdiffstats
path: root/tools/acpisrc/asconvrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/acpisrc/asconvrt.c')
-rw-r--r--tools/acpisrc/asconvrt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/acpisrc/asconvrt.c b/tools/acpisrc/asconvrt.c
index b1c2ca4..e17e51f 100644
--- a/tools/acpisrc/asconvrt.c
+++ b/tools/acpisrc/asconvrt.c
@@ -730,8 +730,10 @@ AsBracesOnSameLine (
* 1) There is a conditional compile on the line (starts with '#')
* 2) Previous line ends with an '=' (Start of initializer block)
* 3) Previous line ends with a comma (part of an init list)
+ * 4) Previous line ends with a backslash (part of a macro)
*/
if ((StartOfThisLine[1] != '#') &&
+ (*Beginning != '\\') &&
(*Beginning != '/') &&
(*Beginning != '{') &&
(*Beginning != '=') &&
OpenPOWER on IntegriCloud