Beispiel #1
0
/* Mark the ppproc as having reached the end of the current file.
 */
static void endfile(struct ppproc *ppp)
{
    endstream(ppp->cl);
    if (ppp->level != -1)
	error(errOpenIf);
    ppp->line[0] = '\0';
}
Beispiel #2
0
/* Mark the ppproc as having reached the end of the current file.
 */
static void end_pp(CparsePP *ppp)
{
    endstream(ppp->cl);
    if (ppp->level != -1)
	error(errOpenIf);
    ppp->line[0] = '\0';
}