diff options
author | jkim <jkim@FreeBSD.org> | 2014-11-10 21:30:04 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2014-11-10 21:30:04 +0000 |
commit | c289b811b42daf9e7ef5c37a35e951d01c23715a (patch) | |
tree | b4bd3052883fca1145eaa389311d46371584f6d9 /source/components/disassembler/dmutils.c | |
parent | 4a5720e5f30ea6a8d31e75f94046c76ace845126 (diff) | |
download | FreeBSD-src-c289b811b42daf9e7ef5c37a35e951d01c23715a.zip FreeBSD-src-c289b811b42daf9e7ef5c37a35e951d01c23715a.tar.gz |
Import ACPICA 20141107.
Diffstat (limited to 'source/components/disassembler/dmutils.c')
-rw-r--r-- | source/components/disassembler/dmutils.c | 15 |
1 files changed, 14 insertions, 1 deletions
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); } |