Lines Matching refs:srcfile
145 struct srcfile_state *srcfile; in srcfile_push() local
150 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()
152 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push()
153 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
154 srcfile->prev = current_srcfile; in srcfile_push()
156 srcfile->lineno = 1; in srcfile_push()
157 srcfile->colno = 1; in srcfile_push()
159 current_srcfile = srcfile; in srcfile_push()
164 struct srcfile_state *srcfile = current_srcfile; in srcfile_pop() local
166 assert(srcfile); in srcfile_pop()
168 current_srcfile = srcfile->prev; in srcfile_pop()
170 if (fclose(srcfile->f)) in srcfile_pop()
171 die("Error closing \"%s\": %s\n", srcfile->name, in srcfile_pop()