kernel/acpica/compiler/cvparser.c
/*******************************************************************************
 *
 * FUNCTION:    CvTransferComments
 *
 * PARAMETERS:  Op                  - Transfer comments to this Op
 *
 * RETURN:      None
 *
 * DESCRIPTION: Transfer all of the commments stored in global containers to the
 *              given Op. This will be invoked shortly after the parser creates
 *              a ParseOp.
 *              This is referred as ASL_CV_TRANSFER_COMMENTS.
 *
 ******************************************************************************/
CvTransferComments
PARAMETERS:  Op                  - Transfer comments to this Op

None

Transfer all of the commments stored in global containers to the
given Op. This will be invoked shortly after the parser creates
a ParseOp.
This is referred as ASL_CV_TRANSFER_COMMENTS.
CvTransferComments PARAMETERS : Op - Transfer comments to this Op None Transfer all of the commments stored in global containers to the given Op . This will be invoked shortly after the parser creates a ParseOp . This is referred as ASL_CV_TRANSFER_COMMENTS .
void
CvTransferComments (
    ACPI_PARSE_OBJECT       *Op)
{
    Op->Common.InlineComment = AcpiGbl_CurrentInlineComment;
    AcpiGbl_CurrentInlineComment = NULL;
    Op->Common.EndNodeComment = AcpiGbl_CurrentEndNodeComment;
    AcpiGbl_CurrentEndNodeComment = NULL;
    Op->Common.CloseBraceComment = AcpiGbl_CurrentCloseBraceComment;
    AcpiGbl_CurrentCloseBraceComment = NULL;
    Op->Common.CommentList = AcpiGbl_RegCommentListHead;
    AcpiGbl_RegCommentListHead = NULL;
    AcpiGbl_RegCommentListTail = NULL;
    Op->Common.EndBlkComment = AcpiGbl_EndBlkCommentListHead;
    AcpiGbl_EndBlkCommentListHead = NULL;
    AcpiGbl_EndBlkCommentListTail = NULL;
}
void CvTransferComments ( ACPI_PARSE_OBJECT * Op ) { Op -> Common . InlineComment = AcpiGbl_CurrentInlineComment ; AcpiGbl_CurrentInlineComment = NULL ; Op -> Common . EndNodeComment = AcpiGbl_CurrentEndNodeComment ; AcpiGbl_CurrentEndNodeComment = NULL ; Op -> Common . CloseBraceComment = AcpiGbl_CurrentCloseBraceComment ; AcpiGbl_CurrentCloseBraceComment = NULL ; Op -> Common . CommentList = AcpiGbl_RegCommentListHead ; AcpiGbl_RegCommentListHead = NULL ; AcpiGbl_RegCommentListTail = NULL ; Op -> Common . EndBlkComment = AcpiGbl_EndBlkCommentListHead ; AcpiGbl_EndBlkCommentListHead = NULL ; AcpiGbl_EndBlkCommentListTail = NULL ; }
FUNCTION:    CvTransferComments
 PARAMETERS:  Op                  - Transfer comments to this Op
FUNCTION : CvTransferComments PARAMETERS : Op - Transfer comments to this Op