diff options
Diffstat (limited to 'source/compiler/aslwalks.c')
-rw-r--r-- | source/compiler/aslwalks.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/source/compiler/aslwalks.c b/source/compiler/aslwalks.c index aa4f6eab3d9f..a4e5a8cdd767 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; } |