Lines Matching refs:loc
182 ERROR_LOC(r->loc, "*** target file `%s' has both : and :: entries.", in AddRule()
224 n->loc = r->loc; in FillDepNodeLoc()
226 n->loc.lineno = r->cmd_lineno; in FillDepNodeLoc()
245 if (n->loc.filename == NULL) in FillDepNode()
246 n->loc = r->loc; in FillDepNode()
295 Loc loc; in HandleSpecialTargets() local
298 if (GetRuleInputs(Intern(".PHONY"), &targets, &loc)) { in HandleSpecialTargets()
302 if (GetRuleInputs(Intern(".KATI_RESTAT"), &targets, &loc)) { in HandleSpecialTargets()
306 if (GetRuleInputs(Intern(".SUFFIXES"), &targets, &loc)) { in HandleSpecialTargets()
310 WARN_LOC(loc, "kati doesn't support .SUFFIXES with prerequisites"); in HandleSpecialTargets()
328 if (GetRuleInputs(Intern(*p), &targets, &loc)) { in HandleSpecialTargets()
329 WARN_LOC(loc, "kati doesn't support %s", *p); in HandleSpecialTargets()
390 *l = found->second.rules.front()->loc; in GetRuleInputs()
435 ERROR_LOC(rule->loc, "*** suffix rules are obsolete: %s", output.c_str()); in PopulateSuffixRule()
437 WARN_LOC(rule->loc, "warning: suffix rules are deprecated: %s", in PopulateSuffixRule()
482 ERROR_LOC(rule->loc, "*** implicit rules are obsolete: %s", in PopulateImplicitRule()
485 WARN_LOC(rule->loc, "warning: implicit rules are deprecated: %s", in PopulateImplicitRule()
699 n->loc, in BuildPlan()
703 WARN_LOC(n->loc, in BuildPlan()
720 ERROR_LOC(n->loc, "*** writing to readonly directory: \"%s\"", in BuildPlan()
723 WARN_LOC(n->loc, "warning: writing to readonly directory: \"%s\"", in BuildPlan()
735 ERROR_LOC(n->loc, in BuildPlan()
740 WARN_LOC(n->loc, in BuildPlan()
757 ERROR_LOC(n->loc, "*** writing to readonly directory: \"%s\"", in BuildPlan()
760 WARN_LOC(n->loc, "warning: writing to readonly directory: \"%s\"", in BuildPlan()
777 ERROR_LOC(n->loc, in BuildPlan()
781 WARN_LOC(n->loc, in BuildPlan()