summaryrefslogtreecommitdiff
path: root/source/compiler/aslmaputils.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslmaputils.c')
-rw-r--r--source/compiler/aslmaputils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/compiler/aslmaputils.c b/source/compiler/aslmaputils.c
index ebdab7daa741..1ba70405076a 100644
--- a/source/compiler/aslmaputils.c
+++ b/source/compiler/aslmaputils.c
@@ -80,6 +80,12 @@ MpGetHidFromParseTree (
Op = HidNode->Op;
+ if (!Op)
+ {
+ /* Object is not resolved, probably an External */
+
+ return ("Unresolved Symbol - referenced but not defined in this table");
+ }
switch (Op->Asl.ParseOpcode)
{