From 23c52e04d863bc9ca67f6aba0525e8370867bfb0 Mon Sep 17 00:00:00 2001 From: rmoore1 Date: Wed, 27 Sep 2006 20:34:16 +0000 Subject: [PATCH] Automated code cleanup --- source/common/dmtbdump.c | 3 +-- source/compiler/aslcompiler.y | 6 +++--- source/tools/acpiexec/aemain.c | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/source/common/dmtbdump.c b/source/common/dmtbdump.c index 966c6595e..c0e0d62b0 100644 --- a/source/common/dmtbdump.c +++ b/source/common/dmtbdump.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: dmtbdump - Dump ACPI data tables that contain no AML code - * $Revision: 1.13 $ + * $Revision: 1.14 $ * *****************************************************************************/ @@ -298,7 +298,6 @@ AcpiDmDumpAsf ( ACPI_NATIVE_UINT DataLength = 0; ACPI_NATIVE_UINT DataOffset = 0; ACPI_NATIVE_UINT i; - /* No main table, only sub-tables */ diff --git a/source/compiler/aslcompiler.y b/source/compiler/aslcompiler.y index b46bb2b00..769d5233c 100644 --- a/source/compiler/aslcompiler.y +++ b/source/compiler/aslcompiler.y @@ -3,7 +3,7 @@ /****************************************************************************** * * Module Name: aslcompiler.y - Bison input file (ASL grammar and actions) - * $Revision: 1.103 $ + * $Revision: 1.104 $ * *****************************************************************************/ @@ -1475,7 +1475,7 @@ ElseTerm | PARSEOP_ELSE '{' error '}' {$$ = AslDoError(); yyclearin;} - | PARSEOP_ELSE + | PARSEOP_ELSE error {$$ = AslDoError(); yyclearin;} | PARSEOP_ELSEIF '(' {$$ = TrCreateLeafNode (PARSEOP_ELSE);} @@ -1488,7 +1488,7 @@ ElseTerm | PARSEOP_ELSEIF '(' error ')' {$$ = AslDoError(); yyclearin;} - | PARSEOP_ELSEIF + | PARSEOP_ELSEIF error {$$ = AslDoError(); yyclearin;} ; diff --git a/source/tools/acpiexec/aemain.c b/source/tools/acpiexec/aemain.c index 261d70210..d69be5ac1 100644 --- a/source/tools/acpiexec/aemain.c +++ b/source/tools/acpiexec/aemain.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: aemain - Main routine for the AcpiExec utility - * $Revision: 1.106 $ + * $Revision: 1.107 $ * *****************************************************************************/ @@ -158,7 +158,7 @@ static void usage (void) { printf ("Usage: acpiexec [Options] [InputFile]\n\n"); - + printf ("Where:\n"); printf (" -? Display this message\n"); printf (" -a Do not abort methods on error\n");