Lines Matching refs:srcfile
174 struct srcfile_state *srcfile; in srcfile_push() local
179 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()
181 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push()
182 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
183 srcfile->prev = current_srcfile; in srcfile_push()
185 srcfile->lineno = 1; in srcfile_push()
186 srcfile->colno = 1; in srcfile_push()
188 current_srcfile = srcfile; in srcfile_push()
191 set_initial_path(srcfile->name); in srcfile_push()
196 struct srcfile_state *srcfile = current_srcfile; in srcfile_pop() local
198 assert(srcfile); in srcfile_pop()
200 current_srcfile = srcfile->prev; in srcfile_pop()
202 if (fclose(srcfile->f)) in srcfile_pop()
203 die("Error closing \"%s\": %s\n", srcfile->name, in srcfile_pop()