From c289b811b42daf9e7ef5c37a35e951d01c23715a Mon Sep 17 00:00:00 2001 From: jkim Date: Mon, 10 Nov 2014 21:30:04 +0000 Subject: Import ACPICA 20141107. --- source/components/disassembler/dmutils.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'source/components/disassembler/dmutils.c') diff --git a/source/components/disassembler/dmutils.c b/source/components/disassembler/dmutils.c index 700cfec..c075b69 100644 --- a/source/components/disassembler/dmutils.c +++ b/source/components/disassembler/dmutils.c @@ -256,6 +256,13 @@ AcpiDmCommaIfListMember ( if (AcpiDmListType (Op->Common.Parent) & BLOCK_COMMA_LIST) { + /* Exit if Target has been marked IGNORE */ + + if (Op->Common.Next->Common.DisasmFlags & ACPI_PARSEOP_IGNORE) + { + return (FALSE); + } + /* Check for a NULL target operand */ if ((Op->Common.Next->Common.AmlOpcode == AML_INT_NAMEPATH_OP) && @@ -279,7 +286,13 @@ AcpiDmCommaIfListMember ( return (FALSE); } - AcpiOsPrintf (", "); + /* Emit comma only if this is not a C-style operator */ + + if (!Op->Common.OperatorSymbol) + { + AcpiOsPrintf (", "); + } + return (TRUE); } -- cgit v1.1