summaryrefslogtreecommitdiff
path: root/source/compiler/aslstartup.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-10-19 18:47:57 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-10-19 18:47:57 +0000
commit31aa864e8c068201d58aad3a8f82ddb51df11015 (patch)
tree5e268c18ae0fa3ec73e13e2af60a3be57d8393ec /source/compiler/aslstartup.c
parentebef5c959a0ea58fa05c4a5a80bb93104780bf87 (diff)
Notes
Diffstat (limited to 'source/compiler/aslstartup.c')
-rw-r--r--source/compiler/aslstartup.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/compiler/aslstartup.c b/source/compiler/aslstartup.c
index 1f51c7115a5ad..4d556f274622b 100644
--- a/source/compiler/aslstartup.c
+++ b/source/compiler/aslstartup.c
@@ -1,4 +1,3 @@
-
/******************************************************************************
*
* Module Name: aslstartup - Compiler startup routines, called from main
@@ -231,8 +230,12 @@ AslDetectSourceFileType (
if (ACPI_FAILURE (Status))
{
printf ("Non-ascii input file - %s\n", Info->Filename);
- Type = ASL_INPUT_TYPE_BINARY;
- goto Cleanup;
+
+ if (!Gbl_IgnoreErrors)
+ {
+ Type = ASL_INPUT_TYPE_BINARY;
+ goto Cleanup;
+ }
}
/*