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) |
341 { |
342 fprintf (stderr, "Could not open include file %s\n", Pathname); 343 ACPI_FREE (Pathname); 344 return (NULL); |
345 } 346 |
347 /* Push the include file on the open input file stack */ 348 349 PrPushInputFileStack (IncludeFile, Pathname); 350 return (IncludeFile); |
351} 352 353 354/******************************************************************************* 355 * 356 * FUNCTION: AslPushInputFileStack 357 * 358 * PARAMETERS: InputFile - Open file pointer --- 106 unchanged lines hidden --- |