{
pd = new ParseData( fileName, sectionName, sectionLoc );
exportContext.append( false );
+ includeHistory.append( IncludeHistoryItem(
+ fileName, sectionName ) );
}
int token( InputLoc &loc, int tokId, char *tokstart, int toklen );
return cerr;
}
+/* An approximate check for duplicate includes. Due to aliasing of files it's
+ * possible for duplicates to creep in. */
bool Scanner::duplicateInclude( char *inclFileName, char *inclSectionName )
{
for ( IncludeHistory::Iter hi = parser->includeHistory; hi.lte(); hi++ ) {