summaryrefslogtreecommitdiff
path: root/source/compiler/asltree.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-12-18 18:35:46 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-12-18 18:35:46 +0000
commit1c6f3e7bf6ed0a9ff1bd466e319cdf456e6e91dc (patch)
tree9ffecbf2e9ce4e63aac5515363a488b761a02b03 /source/compiler/asltree.c
parentb9098066cd6284319bca922f13e59517f774a103 (diff)
Notes
Diffstat (limited to 'source/compiler/asltree.c')
-rw-r--r--source/compiler/asltree.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/source/compiler/asltree.c b/source/compiler/asltree.c
index 0d800654f6ca5..5067640742d4e 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
*