Deleted Added
sdiff udiff text old ( 241973 ) new ( 243347 )
full compact
1/******************************************************************************
2 *
3 * Module Name: aslcompile - top level compile module
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 36 unchanged lines hidden (view full) ---

45
46#include <stdio.h>
47#include <time.h>
48#include <contrib/dev/acpica/include/acapps.h>
49
50#define _COMPONENT ACPI_COMPILER
51 ACPI_MODULE_NAME ("aslcompile")
52
53/*
54 * Main parser entry
55 * External is here in case the parser emits the same external in the
56 * generated header. (Newer versions of Bison)
57 */
58int
59AslCompilerparse(
60 void);
61
62/* Local prototypes */
63
64static void
65CmFlushSourceCode (
66 void);
67
68static void
69FlConsumeAnsiComment (

--- 208 unchanged lines hidden (view full) ---

278FlConsumeAnsiComment (
279 FILE *Handle,
280 ASL_FILE_STATUS *Status)
281{
282 UINT8 Byte;
283 BOOLEAN ClosingComment = FALSE;
284
285
286 while (fread (&Byte, 1, 1, Handle) == 1)
287 {
288 /* Scan until comment close is found */
289
290 if (ClosingComment)
291 {
292 if (Byte == '/')
293 {
294 return;

--- 26 unchanged lines hidden (view full) ---

321static void
322FlConsumeNewComment (
323 FILE *Handle,
324 ASL_FILE_STATUS *Status)
325{
326 UINT8 Byte;
327
328
329 while (fread (&Byte, 1, 1, Handle) == 1)
330 {
331 Status->Offset++;
332
333 /* Comment ends at newline */
334
335 if (Byte == 0x0A)
336 {
337 Status->Line++;

--- 34 unchanged lines hidden (view full) ---

372 ASL_FILE_STATUS Status;
373
374
375 Status.Line = 1;
376 Status.Offset = 0;
377
378 /* Read the entire file */
379
380 while (fread (&Byte, 1, 1, Handle) == 1)
381 {
382 /* Ignore comment fields (allow non-ascii within) */
383
384 if (OpeningComment)
385 {
386 /* Check for second comment open delimiter */
387
388 if (Byte == '*')

--- 527 unchanged lines hidden ---