Lines Matching refs:current_srcfile
53 struct srcfile_state *current_srcfile; /* = NULL */ variable
106 if (current_srcfile) in fopen_any_on_path()
107 cur_dir = current_srcfile->dir; in fopen_any_on_path()
154 srcfile->prev = current_srcfile; in srcfile_push()
159 current_srcfile = srcfile; in srcfile_push()
164 struct srcfile_state *srcfile = current_srcfile; in srcfile_pop()
168 current_srcfile = srcfile->prev; in srcfile_pop()
180 return current_srcfile ? true : false; in srcfile_pop()
216 pos->file = current_srcfile; in srcpos_update()
218 pos->first_line = current_srcfile->lineno; in srcpos_update()
219 pos->first_column = current_srcfile->colno; in srcpos_update()
223 current_srcfile->lineno++; in srcpos_update()
224 current_srcfile->colno = 1; in srcpos_update()
226 current_srcfile->colno++; in srcpos_update()
229 pos->last_line = current_srcfile->lineno; in srcpos_update()
230 pos->last_column = current_srcfile->colno; in srcpos_update()
295 current_srcfile->name = f; in srcpos_set_line()
296 current_srcfile->lineno = l; in srcpos_set_line()