Add an spcomp option to print #included files (bug 5997 part 4, r=ds).

This commit is contained in:
David Anderson
2013-12-30 17:50:58 -05:00
parent 54ed1807c0
commit 58995fc829
4 changed files with 14 additions and 5 deletions
+3
View File
@@ -153,6 +153,9 @@ static char *extensions[] = { ".inc", ".p", ".pawn" };
*ext='\0'; /* restore filename */
return FALSE;
} /* if */
if (sc_showincludes && sc_status==statFIRST) {
fprintf(stdout, "Note: including file: %s\n", name);
}
PUSHSTK_P(inpf);
PUSHSTK_P(inpfname); /* pointer to current file name */
PUSHSTK_P(curlibrary);