diff options
author | Robert Moore <Robert.Moore@intel.com> | 2018-04-20 09:43:09 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2018-04-20 09:43:09 -0700 |
commit | e855bcebcde00d23e065a1547595a785fe069d45 (patch) | |
tree | ed9b8e7ab3737b9080cea1c3036746d1a4c51f14 /tests | |
parent | 90a8fcc8374c17ba90d4c54e9bbf5f436fecae4f (diff) | |
download | acpica-e855bcebcde00d23e065a1547595a785fe069d45.tar.gz |
iASL: Add support to detect illegal forward references
Forward references have never been allowed within control methods,
and now there are illegal from module-level code (This makes
ACPICA compatible with "other" acpi implementations).
Both types of fwd refs now generate an error message (this is
also a new addition to iASL).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/aslts/src/runtime/collections/Identity2MS/abbu/Makefile | 4 | ||||
-rw-r--r-- | tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/aslts/src/runtime/collections/Identity2MS/abbu/Makefile b/tests/aslts/src/runtime/collections/Identity2MS/abbu/Makefile index f864cf4be..fd5714381 100644 --- a/tests/aslts/src/runtime/collections/Identity2MS/abbu/Makefile +++ b/tests/aslts/src/runtime/collections/Identity2MS/abbu/Makefile @@ -4,6 +4,8 @@ ASLMODADD= MAIN_ASLTS AMLMOD= extra extra_aslts COLL= ../.. -ADD_ASLFLAGS=-vx 6152 +ADD_ASLFLAGS=-vx 6142 #illegal forward reference +ADD_ASLFLAGS+=-vx 6152 #recursive method call + TOP= $(COLL)/../../.. include $(COLL)/Makefile.install diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/Makefile b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/Makefile index b7689db24..5bc5138e7 100644 --- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/Makefile +++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/bdemo/Makefile @@ -3,6 +3,8 @@ AMLMOD= bdemo COLL= ../../.. -ADD_ASLFLAGS=-vx 6152 +ADD_ASLFLAGS=-vx 6142 #illegal forward reference +ADD_ASLFLAGS+=-vx 6152 #recursive method call + TOP= $(COLL)/../../.. include $(COLL)/Makefile.install |