summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/compiler/aslcompile.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2009-06-02 18:53:21 +0000
committerjkim <jkim@FreeBSD.org>2009-06-02 18:53:21 +0000
commit73af4710a0808de20bb2b092c916497d666c7c30 (patch)
treed651e323e75f9dcbfdcc972e9cb96f08c49ff0da /sys/contrib/dev/acpica/compiler/aslcompile.c
parentfea04a3fd158d65e9ffd20e50e38364d82b85c44 (diff)
parent02935ea0ac5fb3dfc5e452b2a18288d7e523dc1b (diff)
downloadFreeBSD-src-73af4710a0808de20bb2b092c916497d666c7c30.zip
FreeBSD-src-73af4710a0808de20bb2b092c916497d666c7c30.tar.gz
MFV: ACPICA 20090521
Diffstat (limited to 'sys/contrib/dev/acpica/compiler/aslcompile.c')
-rw-r--r--sys/contrib/dev/acpica/compiler/aslcompile.c27
1 files changed, 13 insertions, 14 deletions
diff --git a/sys/contrib/dev/acpica/compiler/aslcompile.c b/sys/contrib/dev/acpica/compiler/aslcompile.c
index eba3552..07de1fe 100644
--- a/sys/contrib/dev/acpica/compiler/aslcompile.c
+++ b/sys/contrib/dev/acpica/compiler/aslcompile.c
@@ -2,7 +2,6 @@
/******************************************************************************
*
* Module Name: aslcompile - top level compile module
- * $Revision: 1.97 $
*
*****************************************************************************/
@@ -10,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2007, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -117,7 +116,7 @@
#include <stdio.h>
#include <time.h>
-#include <contrib/dev/acpica/compiler/aslcompiler.h>
+#include "aslcompiler.h"
#define _COMPONENT ACPI_COMPILER
ACPI_MODULE_NAME ("aslcompile")
@@ -132,6 +131,16 @@ static ACPI_STATUS
FlCheckForAscii (
ASL_FILE_INFO *FileInfo);
+void
+FlConsumeAnsiComment (
+ ASL_FILE_INFO *FileInfo,
+ ASL_FILE_STATUS *Status);
+
+void
+FlConsumeNewComment (
+ ASL_FILE_INFO *FileInfo,
+ ASL_FILE_STATUS *Status);
+
/*******************************************************************************
*
@@ -466,7 +475,7 @@ FlCheckForAscii (
/* Check for an ASCII character */
- if (!isascii (Byte))
+ if (!ACPI_IS_ASCII (Byte))
{
if (BadBytes < 10)
{
@@ -914,16 +923,6 @@ CmCleanupAndExit (
}
UtDisplaySummary (ASL_FILE_STDOUT);
-
- /*
- * Return non-zero exit code if there have been errors, unless the
- * global ignore error flag has been set
- */
- if ((Gbl_ExceptionCount[ASL_ERROR] > 0) && (!Gbl_IgnoreErrors))
- {
- exit (1);
- }
- exit (0);
}
OpenPOWER on IntegriCloud