aslprintf.c (29f37e9bcc67d5d94c9d6bbbcf2717e16bf25c4e) aslprintf.c (cfd1ed46817c680fa7822bc523b054ff644055dc)
1/******************************************************************************
2 *
3 * Module Name: aslprintf - ASL Printf/Fprintf macro support
4 *
5 *****************************************************************************/
6
7/******************************************************************************
8 *

--- 338 unchanged lines hidden (view full) ---

347 case 'x':
348 case 'o':
349
350 NextNode = ArgNode->Asl.Next;
351 ArgNode->Asl.Next = NULL;
352
353 /*
354 * Append an empty string if the first argument is
1/******************************************************************************
2 *
3 * Module Name: aslprintf - ASL Printf/Fprintf macro support
4 *
5 *****************************************************************************/
6
7/******************************************************************************
8 *

--- 338 unchanged lines hidden (view full) ---

347 case 'x':
348 case 'o':
349
350 NextNode = ArgNode->Asl.Next;
351 ArgNode->Asl.Next = NULL;
352
353 /*
354 * Append an empty string if the first argument is
355 * not a string. This will implicitly conver the 2nd
355 * not a string. This will implicitly convert the 2nd
356 * concat source to a string per the ACPI specification.
357 */
358 if (!Op->Asl.Child)
359 {
360 NewOp = TrAllocateOp (PARSEOP_STRING_LITERAL);
361 NewOp->Asl.Value.String = "";
362 NewOp->Asl.AmlOpcode = AML_STRING_OP;
363 NewOp->Asl.AcpiBtype = ACPI_BTYPE_STRING;

--- 125 unchanged lines hidden ---
356 * concat source to a string per the ACPI specification.
357 */
358 if (!Op->Asl.Child)
359 {
360 NewOp = TrAllocateOp (PARSEOP_STRING_LITERAL);
361 NewOp->Asl.Value.String = "";
362 NewOp->Asl.AmlOpcode = AML_STRING_OP;
363 NewOp->Asl.AcpiBtype = ACPI_BTYPE_STRING;

--- 125 unchanged lines hidden ---