Lines Matching refs:token

32   const cpp_token *prev;	/* Previous token.  */
33 const cpp_token *source; /* Source token for spacing. */
37 bool prev_was_system_token; /* True if the previous token was a
38 system token.*/
184 const cpp_token *token = cpp_get_token_with_location (pfile, &loc);
186 if (token->type == CPP_PADDING)
191 && token->val.source == NULL))
192 print.source = token->val.source;
196 if (token->type == CPP_EOF)
205 print.source = token;
211 line_marker_emitted = do_line_change (pfile, token, loc, false);
217 && cpp_avoid_paste (pfile, print.prev, token))
218 || (print.prev == NULL && token->type == CPP_HASH))
224 else if (token->flags & PREV_WHITE)
231 line_marker_emitted = do_line_change (pfile, token, loc, false);
238 print.prev = token;
239 if (token->type == CPP_PRAGMA)
244 line_marker_emitted = maybe_print_line (token->src_loc);
246 c_pp_lookup_pragma (token->val.pragma, &space, &name);
254 else if (token->type == CPP_PRAGMA_EOL)
256 maybe_print_line (token->src_loc);
262 linemap_dump_location (line_table, token->src_loc, print.outf);
269 /* The system-ness of this token is different from the one
270 of the previous token. Let's emit a line change to
271 mark the new system-ness before we emit the token. */
273 do_line_change (pfile, token, loc, false);
276 cpp_output_token (token, print.outf);
283 all the possible token types just check if token uses
285 if (cpp_token_val_index (token) == CPP_TOKEN_FLD_STR)
286 account_for_newlines (token->val.str.text, token->val.str.len);
334 /* If the token read on logical line LINE needs to be output on a
371 /* If the token read on logical line LINE needs to be output on a
450 do_line_change (cpp_reader *pfile, const cpp_token *token,
457 if (token->type == CPP_EOF || parsing_args)
464 /* Supply enough spaces to put this token in its original column,
481 /* Called when a line of output is started. TOKEN is the first token
484 cb_line_change (cpp_reader *pfile, const cpp_token *token,
487 do_line_change (pfile, token, token->src_loc, parsing_args);