diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-02-12 18:53:29 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-02-12 18:53:29 +0000 |
commit | 67ac2c42d552618270f8ba5431d63944a35a0ee7 (patch) | |
tree | 5c13158cdf7d0b9ff31cb1f23b72fa64440df238 /source/compiler/prscan.c | |
parent | 176870a6cad869aa9bbb6b7906be146cc651c359 (diff) |
Notes
Diffstat (limited to 'source/compiler/prscan.c')
-rw-r--r-- | source/compiler/prscan.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/compiler/prscan.c b/source/compiler/prscan.c index e96fba5c375ee..8a4f24199eba1 100644 --- a/source/compiler/prscan.c +++ b/source/compiler/prscan.c @@ -334,8 +334,7 @@ PrPreprocessInputFile ( Gbl_CurrentLineNumber++; Gbl_LogicalLineNumber++; - if ((Status == ASL_WITHIN_COMMENT) || - (Status == ASL_BLANK_LINE)) + if (Status == ASL_IGNORE_LINE) { goto WriteEntireLine; } @@ -870,7 +869,8 @@ SyntaxError: * * RETURN: Status of the GetLine operation: * AE_OK - Normal line, OK status - * ASL_WITHIN_COMMENT - Line is part of a multi-line comment + * ASL_IGNORE_LINE - Line is blank or part of a multi-line + * comment * ASL_EOF - End-of-file reached * * DESCRIPTION: Get the next text line from the input file. Does not strip @@ -986,7 +986,7 @@ PrGetNextLine ( if (AcpiGbl_LineScanState == PR_MULTI_LINE_COMMENT) { - return (ASL_WITHIN_COMMENT); + return (ASL_IGNORE_LINE); } /* End of single-line comment */ @@ -1001,7 +1001,7 @@ PrGetNextLine ( if (i == 1) { - return (ASL_BLANK_LINE); + return (ASL_IGNORE_LINE); } return (AE_OK); |