Deleted Added
full compact
prutils.c (241973) prutils.c (243347)
1/******************************************************************************
2 *
3 * Module Name: prutils - Preprocessor utilities
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

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

332
333 DbgPrint (ASL_PARSE_OUTPUT, PR_PREFIX_ID
334 "Include: Opening file - \"%s\"\n",
335 Gbl_CurrentLineNumber, Pathname);
336
337 /* Attempt to open the file, push if successful */
338
339 IncludeFile = fopen (Pathname, "r");
1/******************************************************************************
2 *
3 * Module Name: prutils - Preprocessor utilities
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

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

332
333 DbgPrint (ASL_PARSE_OUTPUT, PR_PREFIX_ID
334 "Include: Opening file - \"%s\"\n",
335 Gbl_CurrentLineNumber, Pathname);
336
337 /* Attempt to open the file, push if successful */
338
339 IncludeFile = fopen (Pathname, "r");
340 if (IncludeFile)
340 if (!IncludeFile)
341 {
341 {
342 /* Push the include file on the open input file stack */
343
344 PrPushInputFileStack (IncludeFile, Pathname);
345 return (IncludeFile);
342 fprintf (stderr, "Could not open include file %s\n", Pathname);
343 ACPI_FREE (Pathname);
344 return (NULL);
346 }
347
345 }
346
348 ACPI_FREE (Pathname);
349 return (NULL);
347 /* Push the include file on the open input file stack */
348
349 PrPushInputFileStack (IncludeFile, Pathname);
350 return (IncludeFile);
350}
351
352
353/*******************************************************************************
354 *
355 * FUNCTION: AslPushInputFileStack
356 *
357 * PARAMETERS: InputFile - Open file pointer

--- 106 unchanged lines hidden ---
351}
352
353
354/*******************************************************************************
355 *
356 * FUNCTION: AslPushInputFileStack
357 *
358 * PARAMETERS: InputFile - Open file pointer

--- 106 unchanged lines hidden ---