Lines Matching refs:curFile

423 	IncludedFile *curFile = CurFile();  in RememberLocation()  local
424 gn->fname = Str_Intern(curFile->name.str); in RememberLocation()
425 gn->lineno = curFile->lineno; in RememberLocation()
548 IncludedFile *curFile = CurFile(); in Parse_Error() local
549 fname = curFile->name.str; in Parse_Error()
550 lineno = curFile->lineno; in Parse_Error()
2125 IncludedFile *curFile; in Parse_PushInput() local
2135 curFile = Vector_Push(&includes); in Parse_PushInput()
2136 curFile->name = FStr_InitOwn(bmake_strdup(name)); in Parse_PushInput()
2137 curFile->lineno = lineno; in Parse_PushInput()
2138 curFile->readLines = readLines; in Parse_PushInput()
2139 curFile->forHeadLineno = lineno; in Parse_PushInput()
2140 curFile->forBodyReadLines = readLines; in Parse_PushInput()
2141 curFile->buf = buf; in Parse_PushInput()
2142 curFile->depending = doing_depend; /* restore this on EOF */ in Parse_PushInput()
2143 curFile->forLoop = forLoop; in Parse_PushInput()
2145 if (forLoop != NULL && !For_NextIteration(forLoop, &curFile->buf)) in Parse_PushInput()
2148 curFile->buf_ptr = curFile->buf.data; in Parse_PushInput()
2149 curFile->buf_end = curFile->buf.data + curFile->buf.len; in Parse_PushInput()
2150 curFile->cond_depth = Cond_save_depth(); in Parse_PushInput()
2272 IncludedFile *curFile = CurFile(); in ParseEOF() local
2274 doing_depend = curFile->depending; in ParseEOF()
2275 if (curFile->forLoop != NULL && in ParseEOF()
2276 For_NextIteration(curFile->forLoop, &curFile->buf)) { in ParseEOF()
2277 curFile->buf_ptr = curFile->buf.data; in ParseEOF()
2278 curFile->buf_end = curFile->buf.data + curFile->buf.len; in ParseEOF()
2279 curFile->readLines = curFile->forBodyReadLines; in ParseEOF()
2287 Cond_restore_depth(curFile->cond_depth); in ParseEOF()
2289 FStr_Done(&curFile->name); in ParseEOF()
2290 Buf_Done(&curFile->buf); in ParseEOF()
2291 if (curFile->forLoop != NULL) in ParseEOF()
2292 ForLoop_Free(curFile->forLoop); in ParseEOF()
2304 curFile = CurFile(); in ParseEOF()
2306 curFile->name.str, curFile->readLines + 1); in ParseEOF()
2308 SetParseFile(curFile->name.str); in ParseEOF()
2324 ParseRawLine(IncludedFile *curFile, char **out_line, char **out_line_end, in ParseRawLine() argument
2327 char *line = curFile->buf_ptr; in ParseRawLine()
2328 char *buf_end = curFile->buf_end; in ParseRawLine()
2335 curFile->readLines++; in ParseRawLine()
2356 curFile->readLines++; in ParseRawLine()
2387 curFile->buf_ptr = p; in ParseRawLine()
2478 IncludedFile *curFile = CurFile(); in ReadLowLevelLine() local
2486 curFile->lineno = curFile->readLines + 1; in ReadLowLevelLine()
2487 res = ParseRawLine(curFile, in ReadLowLevelLine()