Home
last modified time | relevance | path

Searched refs:cpp_token (Results 1 – 24 of 24) sorted by relevance

/freebsd-12.1/contrib/gcclibs/libcpp/
H A Dmacro.c50 static const cpp_token *padding_token (cpp_reader *, const cpp_token *);
55 static bool paste_tokens (cpp_reader *, const cpp_token **, const cpp_token *);
92 static const cpp_token *
351 static const cpp_token *
439 paste_tokens (cpp_reader *pfile, const cpp_token **plhs, const cpp_token *rhs) in paste_tokens()
442 cpp_token *lhs; in paste_tokens()
502 const cpp_token *rhs; in paste_all_tokens()
1093 const cpp_token *
1404 static cpp_token *
1415 static cpp_token *
[all …]
H A Dinternal.h122 const cpp_token *token;
123 const cpp_token **ptoken;
131 cpp_token *base, *limit;
345 cpp_token directive_result;
381 cpp_token *cur_token;
408 cpp_token avoid_paste;
409 cpp_token eof;
520 const cpp_token *, unsigned int);
554 extern cpp_token *_cpp_temp_token (cpp_reader *);
556 extern cpp_token *_cpp_lex_direct (cpp_reader *);
[all …]
H A Ddirectives.c220 static const cpp_token **
225 const cpp_token **buf; in check_eol_return_comments()
233 const cpp_token *tok; in check_eol_return_comments()
376 const cpp_token *dname; in _cpp_handle_directive()
622 const cpp_token *token; in glue_header_name()
1290 cpp_token ns_token; in do_pragma()
1354 cpp_token *toks = XNEWVEC (cpp_token, 2); in do_pragma()
1383 const cpp_token *tok; in do_pragma_poison()
1465 static const cpp_token *
1506 cpp_token *toks; in destringize_and_run()
[all …]
H A Dlex.c446 const cpp_token *token, in warn_about_normalization()
742 cpp_token *
745 cpp_token *old, *result; in _cpp_temp_token()
762 const cpp_token *
765 cpp_token *result; in _cpp_lex_token()
899 cpp_token *
1250 cpp_token_len (const cpp_token *token) in cpp_token_len()
1447 _cpp_equiv_tokens (const cpp_token *a, const cpp_token *b) in _cpp_equiv_tokens()
1474 const cpp_token *token2) in cpp_avoid_paste()
1532 const cpp_token *token; in cpp_output_line()
[all …]
H A Dexpr.c33 const cpp_token *token; /* The token forming op (for diagnostics). */
61 static cpp_num eval_token (cpp_reader *, const cpp_token *);
164 cpp_classify_number (cpp_reader *pfile, const cpp_token *token) in cpp_classify_number()
370 cpp_interpret_integer (cpp_reader *pfile, const cpp_token *token, in cpp_interpret_integer()
528 const cpp_token *token; in parse_defined()
556 cpp_token op; in parse_defined()
593 eval_token (cpp_reader *pfile, const cpp_token *token) in eval_token()
H A Derrors.c157 cpp_token *t; in cpp_error()
H A Dinit.c513 const cpp_token *token, *token1; in read_original_filename()
544 const cpp_token *hash, *token; in read_original_directory()
H A DChangeLog137 (struct cpp_token): Add val.pragma.
152 * include/cpplib.h: Add PURE_ZERO to flags for the cpp_token structure.
226 include callback: cpp_token list.
834 (struct cpp_token): Add GTY markers.
H A Dcharset.c1500 cpp_interpret_charconst (cpp_reader *pfile, const cpp_token *token, in cpp_interpret_charconst()
/freebsd-12.1/contrib/gcclibs/libcpp/include/
H A Dcpplib.h38 typedef struct cpp_token cpp_token; typedef
191 struct cpp_token GTY(())
208 cpp_token * GTY ((tag ("CPP_TOKEN_FLD_SOURCE"))) source;
465 void (*line_change) (cpp_reader *, const cpp_token *, int);
475 const char *, int, const cpp_token **);
684 extern unsigned int cpp_token_len (const cpp_token *);
692 extern int cpp_avoid_paste (cpp_reader *, const cpp_token *,
693 const cpp_token *);
694 extern const cpp_token *cpp_get_token (cpp_reader *);
815 extern int cpp_ideq (const cpp_token *, const char *);
[all …]
H A Dcpp-id-data.h32 cpp_token GTY ((length ("%h.count"))) first[1];
51 cpp_token * GTY ((tag ("0"), length ("%0.count"))) tokens;
/freebsd-12.1/contrib/gcc/
H A Dscan-decls.c29 static const cpp_token *get_a_token (cpp_reader *);
47 static const cpp_token *
52 const cpp_token *result = cpp_get_token (pfile); in get_a_token()
102 cpp_token prev_id; in scan_decls()
103 const cpp_token *token; in scan_decls()
H A Dc-lex.c62 static tree interpret_integer (const cpp_token *, unsigned int);
63 static tree interpret_float (const cpp_token *, unsigned int);
68 static enum cpp_ttype lex_string (const cpp_token *, tree *, bool);
69 static tree lex_charconst (const cpp_token *);
72 static void cb_line_change (cpp_reader *, const cpp_token *, int);
282 const cpp_token *s; in cb_def_pragma()
334 const cpp_token *tok; in c_lex_with_flags()
555 interpret_integer (const cpp_token *token, unsigned int flags) in interpret_integer()
635 interpret_float (const cpp_token *token, unsigned int flags) in interpret_float()
722 lex_string (const cpp_token *tok, tree *valp, bool objc_string) in lex_string()
[all …]
H A Dscan.h45 struct cpp_token;
54 extern void recognized_function (const struct cpp_token *,
56 extern void recognized_extern (const struct cpp_token *);
H A Dc-ppoutput.c35 const cpp_token *prev; /* Previous token. */
36 const cpp_token *source; /* Source token for spacing. */
55 static void cb_line_change (cpp_reader *, const cpp_token *, int);
59 const char *, int, const cpp_token **);
148 const cpp_token *token = cpp_get_token (pfile); in scan_translation_unit()
301 cb_line_change (cpp_reader *pfile, const cpp_token *token, in cb_line_change()
368 const cpp_token **comments) in cb_include()
H A Dfix-header.c505 recognized_extern (const cpp_token *name) in recognized_extern()
525 recognized_function (const cpp_token *fname, unsigned int line, int kind, in recognized_function()
694 const cpp_token *t = cpp_get_token (scan_in); in read_scan_file()
H A DChangeLog-20003879 (struct cpp_token): Delete integer.
4594 * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
5245 (struct cpp_token): Delete line and col members.
9450 * c-common.c: Don't define parse_options, cpp_token, yy_cur,
13731 (cpp_token flags): Add NAMED_OP.
14667 (struct cpp_token): Rename 'name' field to 'str'. Add 'node'
14970 * scan.h: Declare struct cpp_token. Update prototypes.
17462 (spell_token): Take a const cpp_token *.
21369 (struct cpp_name, cpp_token, cpp_toklist): New data
22243 cpp_token with cpp_ttype everywhere.
[all …]
H A DChangeLog-200310155 * cpplib.h (struct cpp_token): Change type of field line to fileline.
25626 (struct cpp_token): Remove member c.
25742 * c-ppoutput.c (cb_include): Don't take a cpp_token.
25744 (find_include_file): Don't take a cpp_token. Check for empty
25746 (_cpp_execute_include, _cpp_compare_file_date): Don't take a cpp_token.
25749 * cpplib.c (glue_header_name): Return the file name, not a cpp_token.
H A DChangeLog-200110096 (struct cpp_token): New union member source.
11046 (struct cpp_token): Remove output_line.
15755 * cpplib.h (struct cpp_token): Add line and column entries.
22422 (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
H A DChangeLog-199911631 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
12717 * c-common.c (cpp_token): Make non-static.
H A DChangeLog-199811662 * c-common.c (parse_in,parse_options,cpp_token): Declare for cpplib.
H A DChangeLog-200442266 * cpplib.h (struct cpp_token): Rename line field to src_loc.
42274 (_cpp_temp_token): Replace cpp_token's line+col fields by src_loc.
/freebsd-12.1/contrib/gcc/doc/
H A Dcppinternals.texi674 normally. The @code{cpp_token} structure contains a flags byte, and one
804 The @code{cpp_token} structure contains @code{line} and @code{col}
/freebsd-12.1/contrib/gcc/cp/
H A DChangeLog-19994304 (init_parse): Set cpp_token to CPP_DIRECTIVE.