Lines Matching full:loc
117 #define YY_LOCATION_PRINT(File, Loc) \
118 location_print (File, Loc)
120 static void version_check (location const *loc, char const *version);
135 * \param loc the location in the source.
137 static void add_param (char const *type, char *decl, location loc);
152 current_lhs(symbol *sym, location loc, named_ref *ref)
155 current_lhs_location = loc;
1007 # define YY_LOCATION_PRINT(File, Loc) \
1009 fprintf (File, "%d.%d", (Loc).first_line, (Loc).first_column); \
1010 if ((Loc).first_line < (Loc).last_line) \
1011 fprintf (File, "-%d.%d", (Loc).last_line, (Loc).last_column - 1); \
1012 else if ((Loc).first_column < (Loc).last_column - 1) \
1013 fprintf (File, "-%d", (Loc).last_column - 1); \
1016 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
3159 YYLTYPE loc;
3161 /* SGI MIPSpro 7.4.1m miscompiles "loc.start = loc.end = rhs[n].end;".
3163 loc.start = rhs[n].end;
3164 loc.end = rhs[n].end;
3172 loc.start = rhs[i].start;
3176 return loc;
3181 declaration DECL and location LOC. */
3184 add_param (char const *type, char *decl, location loc)
3212 complain_at (loc, _("missing identifier in parameter declaration"));
3225 version_check (location const *loc, char const *version)
3229 complain_at (*loc, "require bison %s, but have %s",
3236 gram_error (location const *loc, char const *msg)
3238 complain_at (*loc, "%s", msg);