Home | History | Annotate | Download | only in src

Lines Matching full:loc

48    code_start = scanner_cursor = loc->start;		\
53 #define YY_USER_ACTION location_compute (loc, &scanner_cursor, yytext, yyleng);
80 static unsigned long int scan_integer (char const *p, int base, location loc);
149 "," warn_at (*loc, _("stray ',' treated as white space"));
153 token_start = loc->start;
161 handle_syncline (yytext + sizeof "#line " - 1, *loc);
222 complain_at (*loc, _("invalid directive: %s"), quote (yytext));
233 id_loc = *loc;
239 val->integer = scan_integer (yytext, 10, *loc);
243 val->integer = scan_integer (yytext, 16, *loc);
250 complain_at (*loc, _("invalid identifier: %s"), quote (yytext));
254 "'" token_start = loc->start; BEGIN SC_ESCAPED_CHARACTER;
257 "\"" token_start = loc->start; BEGIN SC_ESCAPED_STRING;
260 "%{" code_start = loc->start; BEGIN SC_PROLOGUE;
266 code_start = loc->start;
288 bracketed_id_start = loc->start;
294 complain_at (*loc, "%s: %s",
300 loc->start = loc->end = scanner_cursor;
317 *loc = id_loc;
322 bracketed_id_start = loc->start;
329 *loc = id_loc;
335 *loc = id_loc;
340 *loc = id_loc;
354 complain_at (*loc, _("unexpected identifier in bracketed name: %s"),
360 bracketed_id_loc = *loc;
371 *loc = bracketed_id_loc;
376 complain_at (*loc, _("an identifier expected"));
380 complain_at (*loc, "%s: %s",
398 *loc = bracketed_id_loc;
451 loc->start = token_start;
459 loc->start = token_start;
475 loc->start = token_start;
481 warn_at (*loc, _("empty character literal"));
486 warn_at (*loc, _("extra characters in character literal"));
496 loc->start = token_start;
502 warn_at (*loc, _("empty character literal"));
507 warn_at (*loc, _("extra characters in character literal"));
518 \0 complain_at (*loc, _("invalid null character"));
531 complain_at (*loc, _("invalid number after \\-escape: %s"),
541 complain_at (*loc, _("invalid number after \\-escape: %s"),
561 complain_at (*loc, _("invalid number after \\-escape: %s"),
573 complain_at (*loc, _("invalid character after \\-escape: %s"), p);
610 token_start = loc->start;
616 token_start = loc->start;
622 token_start = loc->start;
650 loc->start = code_start;
664 loc->start = code_start;
680 loc->start = code_start;
689 loc->start = code_start;
706 loc->start = code_start;
772 | Scan NUMBER for a base-BASE integer at location LOC. |
776 scan_integer (char const *number, int base, location loc)
783 complain_at (loc, _("integer out of range: %s"), quote (number));
853 handle_syncline (char *args, location loc)
859 warn_at (loc, _("line number overflow"));
882 location loc;
883 loc.start = start;
884 loc.end = scanner_cursor;
889 complain_at (loc, _(msgid), token_end);