summaryrefslogtreecommitdiff
path: root/source/compiler/aslwalks.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-02-12 18:53:29 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-02-12 18:53:29 +0000
commit67ac2c42d552618270f8ba5431d63944a35a0ee7 (patch)
tree5c13158cdf7d0b9ff31cb1f23b72fa64440df238 /source/compiler/aslwalks.c
parent176870a6cad869aa9bbb6b7906be146cc651c359 (diff)
Notes
Diffstat (limited to 'source/compiler/aslwalks.c')
-rw-r--r--source/compiler/aslwalks.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/source/compiler/aslwalks.c b/source/compiler/aslwalks.c
index aa4f6eab3d9f4..a4e5a8cdd7671 100644
--- a/source/compiler/aslwalks.c
+++ b/source/compiler/aslwalks.c
@@ -859,10 +859,21 @@ AnAnalyzeStoreOperator (
case PARSEOP_DEREFOF:
case PARSEOP_REFOF:
case PARSEOP_INDEX:
- case PARSEOP_METHODCALL:
return;
+ case PARSEOP_METHODCALL:
+ /*
+ * A target is not allowed to be a method call.
+ * It is not supported by the ACPICA interpreter, nor is it
+ * supported by the MS ASL compiler or the MS interpreter.
+ * Although legal syntax up until ACPI 6.1, support for this
+ * will be removed for ACPI 6.2 (02/2016)
+ */
+ AslError (ASL_ERROR, ASL_MSG_SYNTAX,
+ TargetOperandOp, "Illegal method invocation as a target operand");
+ return;
+
default:
break;
}