Lines Matching refs:loc

94   struct ptr_loc *loc;
96 loc = (struct ptr_loc *) obstack_alloc (&m_ptr_loc_obstack,
98 loc->ptr = ptr;
99 loc->loc = file_loc;
100 *htab_find_slot (m_ptr_locs, loc, INSERT) = loc;
117 const struct ptr_loc *loc = get_md_ptr_loc (old_ptr);
118 if (loc != 0)
119 set_md_ptr_loc (new_ptr, loc->loc);
128 const struct ptr_loc *loc = get_md_ptr_loc (ptr);
129 if (loc != 0)
130 fprintf (outf, "#line %d \"%s\"\n", loc->loc.lineno, loc->loc.filename);
204 message_at_1 (file_location loc, const char *msg, va_list ap)
206 fprintf (stderr, "%s:%d:%d: ", loc.filename, loc.lineno, loc.colno);
214 message_at (file_location loc, const char *msg, ...)
219 message_at_1 (loc, msg, ap);
226 error_at (file_location loc, const char *msg, ...)
231 message_at_1 (loc, msg, ap);
239 fatal_at (file_location loc, const char *msg, ...)
244 message_at_1 (loc, msg, ap);
519 file_location loc;
520 if (!read_name_1 (name, &loc))
522 return loc;
528 file_location loc;
529 if (!read_name_1 (name, &loc))
531 file_location loc = get_current_location ();
532 read_skip_construct (0, loc);
538 return loc;
675 file_location loc = get_current_location ();
698 set_md_ptr_loc (stringbuf, loc);
706 md_reader::read_skip_construct (int depth, file_location loc)
716 error_at (loc, "unterminated construct");
902 md_reader::handle_enum (file_location loc, bool md_p)
918 error_at (loc, "redefining `%s' as a different type of enum",
939 error_at (loc, "unterminated construct");
1064 md_reader::handle_include (file_location loc)
1107 error_at (loc, "include file `%s' not found", filename);
1151 file_location loc = get_current_location ();
1159 handle_enum (loc, true);
1161 handle_enum (loc, false);
1163 handle_include (loc);
1165 handle_unknown_directive (loc, directive.string);
1360 noop_reader::handle_unknown_directive (file_location loc, const char *)
1362 read_skip_construct (1, loc);