diff options
author | Robert Moore <Robert.Moore@intel.com> | 2018-10-31 09:46:41 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2018-10-31 09:46:41 -0700 |
commit | 0ddb425eff064db1bbb52dade64421ecc5b4d4d8 (patch) | |
tree | 3ad688fa4672b40f373f63946369e27d3c5d8db8 /source/compiler/aslmessages.c | |
parent | 3f984c8bc7b7bce97dff8448f3612e11d2d380a8 (diff) | |
download | acpica-0ddb425eff064db1bbb52dade64421ecc5b4d4d8.tar.gz |
iASL: Enhanced error detection by validating that all NameSeg
elements within a NamePatch actually exist. The previous behavior
was spotty at best, and such errors could be improperly ignored
at compiler time (never at runtime, however. There are two
new error messages.
Diffstat (limited to 'source/compiler/aslmessages.c')
-rw-r--r-- | source/compiler/aslmessages.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/compiler/aslmessages.c b/source/compiler/aslmessages.c index 14e140b2f..232971837 100644 --- a/source/compiler/aslmessages.c +++ b/source/compiler/aslmessages.c @@ -285,7 +285,7 @@ const char *AslCompilerMsgs [] = /* ASL_MSG_NON_ASCII */ "Invalid characters found in file", /* ASL_MSG_NON_ZERO */ "Operand evaluates to zero", /* ASL_MSG_NOT_EXIST */ "Object does not exist", -/* ASL_MSG_NOT_FOUND */ "Object not found or not accessible from scope", +/* ASL_MSG_NOT_FOUND */ "Object not found or not accessible from current scope", /* ASL_MSG_NOT_METHOD */ "Not a control method, cannot invoke", /* ASL_MSG_NOT_PARAMETER */ "Not a parameter, used as local only", /* ASL_MSG_NOT_REACHABLE */ "Object is not accessible from this scope", @@ -359,7 +359,9 @@ const char *AslCompilerMsgs [] = /* ASL_MSG_OEM_ID */ "Invalid OEM ID", /* ASL_MSG_UNLOAD */ "Unload is not supported by all operating systems", /* ASL_MSG_OFFSET */ "Unnecessary/redundant use of Offset operator", -/* ASL_MSG_LONG_SLEEP */ "Very long Sleep, greater than 1 second" +/* ASL_MSG_LONG_SLEEP */ "Very long Sleep, greater than 1 second", +/* ASL_MSG_PREFIX_NOT_EXIST */ "One or more prefix Scopes do not exist", +/* ASL_MSG_NAMEPATH_NOT_EXIST */ "One or more objects within the Pathname do not exist" }; /* Table compiler */ |