diff options
Diffstat (limited to 'source/compiler/asltree.c')
| -rw-r--r-- | source/compiler/asltree.c | 22 | 
1 files changed, 21 insertions, 1 deletions
| diff --git a/source/compiler/asltree.c b/source/compiler/asltree.c index 0d800654f6ca..5067640742d4 100644 --- a/source/compiler/asltree.c +++ b/source/compiler/asltree.c @@ -157,10 +157,30 @@ TrReleaseNode (  /*******************************************************************************   * + * FUNCTION:    TrSetCurrentFilename + * + * PARAMETERS:  Op                  - An existing parse node + * + * RETURN:      None + * + * DESCRIPTION: Save the include file filename. Used for debug output only. + * + ******************************************************************************/ + +void +TrSetCurrentFilename ( +    ACPI_PARSE_OBJECT       *Op) +{ +    Op->Asl.Filename = Gbl_PreviousIncludeFilename; +} + + +/******************************************************************************* + *   * FUNCTION:    TrUpdateNode   *   * PARAMETERS:  ParseOpcode         - New opcode to be assigned to the node - *              Op                - An existing parse node + *              Op                  - An existing parse node   *   * RETURN:      The updated node   * | 
