summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2022-08-12 13:40:55 -0700
committerRobert Moore <Robert.Moore@intel.com>2022-08-12 13:40:55 -0700
commit6dc844963ba7ca8a0f4a6a16420a8c184494b307 (patch)
treed5617aaf96ea1bd8350e12144dc00df648ac534e
parentcf14374101c6d0e891e33d41fefbd95b11146961 (diff)
downloadacpica-6dc844963ba7ca8a0f4a6a16420a8c184494b307.tar.gz
iASL: Additional fixes for error reporting.
-rw-r--r--source/compiler/aslerror.c1
-rw-r--r--source/compiler/aslpredef.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source/compiler/aslerror.c b/source/compiler/aslerror.c
index a0ebe7b34..3a61bc6e5 100644
--- a/source/compiler/aslerror.c
+++ b/source/compiler/aslerror.c
@@ -1033,7 +1033,6 @@ AslLogNewError (
exit(1);
}
- AslGbl_ExceptionCount[ASL_ERROR] = 0;
return;
}
diff --git a/source/compiler/aslpredef.c b/source/compiler/aslpredef.c
index c52295ee8..2804e12da 100644
--- a/source/compiler/aslpredef.c
+++ b/source/compiler/aslpredef.c
@@ -563,7 +563,7 @@ ApCheckForPredefinedName (
if (Name[0] == 0)
{
AslError (ASL_ERROR, ASL_MSG_COMPILER_INTERNAL, Op,
- "zero length name found");
+ "Zero length name found");
}
/* All reserved names are prefixed with a single underscore */