diff options
Diffstat (limited to 'source/compiler/aslerror.c')
| -rw-r--r-- | source/compiler/aslerror.c | 35 | 
1 files changed, 19 insertions, 16 deletions
diff --git a/source/compiler/aslerror.c b/source/compiler/aslerror.c index 4f430d11d048..2c0516a56a85 100644 --- a/source/compiler/aslerror.c +++ b/source/compiler/aslerror.c @@ -267,8 +267,10 @@ AePrintException (      if (!Enode->SourceLine)      { -        /* Use the merged header/source file if present, otherwise use input file */ - +        /* +         * Use the merged header/source file if present, otherwise +         * use input file +         */          SourceFile = Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Handle;          if (!SourceFile)          { @@ -314,18 +316,18 @@ AePrintException (                      fprintf (OutputFile, " %6u: ", Enode->LineNumber);                      /* -                     * If not at EOF, get the corresponding source code line and -                     * display it. Don't attempt this if we have a premature EOF -                     * condition. +                     * If not at EOF, get the corresponding source code line +                     * and display it. Don't attempt this if we have a +                     * premature EOF condition.                       */                      if (!PrematureEOF)                      {                          /* -                         * Seek to the offset in the combined source file, read -                         * the source line, and write it to the output. +                         * Seek to the offset in the combined source file, +                         * read the source line, and write it to the output.                           */ -                        Actual = fseek (SourceFile, (long) Enode->LogicalByteOffset, -                                    (int) SEEK_SET); +                        Actual = fseek (SourceFile, +                            (long) Enode->LogicalByteOffset, (int) SEEK_SET);                          if (Actual)                          {                              fprintf (OutputFile, @@ -880,16 +882,17 @@ AslCoreSubsystemError (      if (Op)      { -        AslCommonError (ASL_ERROR, ASL_MSG_CORE_EXCEPTION, Op->Asl.LineNumber, -                        Op->Asl.LogicalLineNumber, -                        Op->Asl.LogicalByteOffset, -                        Op->Asl.Column, -                        Op->Asl.Filename, MsgBuffer); +        AslCommonError (ASL_ERROR, ASL_MSG_CORE_EXCEPTION, +            Op->Asl.LineNumber, +            Op->Asl.LogicalLineNumber, +            Op->Asl.LogicalByteOffset, +            Op->Asl.Column, +            Op->Asl.Filename, MsgBuffer);      }      else      { -        AslCommonError (ASL_ERROR, ASL_MSG_CORE_EXCEPTION, 0, -                        0, 0, 0, NULL, MsgBuffer); +        AslCommonError (ASL_ERROR, ASL_MSG_CORE_EXCEPTION, +            0, 0, 0, 0, NULL, MsgBuffer);      }      if (Abort)  | 
