#include "symtab.h"#include "cpp-id-data.h"


Go to the source code of this file.
| #define _cpp_mark_macro_used | ( | NODE | ) |
Value:
do { \ if ((NODE)->type == NT_MACRO && !((NODE)->flags & NODE_BUILTIN)) \ (NODE)->value.macro->used = 1; } while (0)
Definition at line 93 of file internal.h.
| #define _dollar_ok | ( | x | ) | ((x) == '$' && CPP_OPTION (pfile, dollars_in_ident)) |
Definition at line 453 of file internal.h.
| #define BITS_PER_CPPCHAR_T (CHAR_BIT * sizeof (cppchar_t)) |
Definition at line 53 of file internal.h.
| #define BUFF_FRONT | ( | BUFF | ) | ((BUFF)->cur) |
Definition at line 114 of file internal.h.
| #define BUFF_LIMIT | ( | BUFF | ) | ((BUFF)->limit) |
Definition at line 115 of file internal.h.
Definition at line 113 of file internal.h.
Definition at line 91 of file internal.h.
Definition at line 90 of file internal.h.
Definition at line 65 of file internal.h.
Definition at line 64 of file internal.h.
| #define CPP_BUFFER | ( | PFILE | ) | ((PFILE)->buffer) |
Definition at line 63 of file internal.h.
| #define CPP_INCREMENT_LINE | ( | PFILE, | |||
| COLS_HINT | ) |
Value:
do { \ const struct line_maps *line_table = PFILE->line_table; \ const struct line_map *map = &line_table->maps[line_table->used-1]; \ unsigned int line = SOURCE_LINE (map, line_table->highest_line); \ linemap_line_start (PFILE->line_table, line + 1, COLS_HINT); \ } while (0)
Definition at line 67 of file internal.h.
Referenced by _cpp_lex_direct(), _cpp_process_line_notes(), _cpp_scan_out_logical_line(), and _cpp_skip_block_comment().
| #define CPP_OPTION | ( | PFILE, | |||
| OPTION | ) | ((PFILE)->opts.OPTION) |
Definition at line 62 of file internal.h.
| #define CPP_PEDANTIC | ( | PF | ) | CPP_OPTION (PF, pedantic) |
Definition at line 481 of file internal.h.
| #define CPP_STACK_MAX 200 |
Definition at line 76 of file internal.h.
| #define CPP_WTRADITIONAL | ( | PF | ) | CPP_OPTION (PF, warn_traditional) |
Definition at line 482 of file internal.h.
| #define CUR | ( | c | ) | ((c)->u.trad.cur) |
Definition at line 137 of file internal.h.
Definition at line 89 of file internal.h.
Definition at line 576 of file internal.h.
Definition at line 135 of file internal.h.
| #define HAVE_ICONV 0 |
Definition at line 36 of file internal.h.
| #define is_hspace | ( | x | ) | ISBLANK(x) |
Definition at line 459 of file internal.h.
| #define is_idchar | ( | x | ) | (ISIDNUM(x) || _dollar_ok(x)) |
Definition at line 455 of file internal.h.
| #define is_idstart | ( | x | ) | (ISIDST(x) || _dollar_ok(x)) |
Definition at line 457 of file internal.h.
| #define is_numchar | ( | x | ) | ISIDNUM(x) |
Definition at line 456 of file internal.h.
| #define is_numstart | ( | x | ) | ISDIGIT(x) |
Definition at line 458 of file internal.h.
| #define is_nvspace | ( | x | ) | IS_NVSPACE(x) |
Definition at line 461 of file internal.h.
| #define is_space | ( | x | ) | IS_SPACE_OR_NUL(x) |
Definition at line 462 of file internal.h.
| #define is_vspace | ( | x | ) | IS_VSPACE(x) |
Definition at line 460 of file internal.h.
| #define LAST | ( | c | ) | ((c)->u.iso.last) |
Definition at line 136 of file internal.h.
Definition at line 138 of file internal.h.
| #define VALID_SIGN | ( | c, | |||
| prevc | ) |
Value:
(((c) == '+' || (c) == '-') && \ ((prevc) == 'e' || (prevc) == 'E' \ || (((prevc) == 'p' || (prevc) == 'P') \ && CPP_OPTION (pfile, extended_numbers))))
Definition at line 56 of file internal.h.
Definition at line 98 of file internal.h.
Definition at line 505 of file internal.h.
| typedef struct _cpp_line_note _cpp_line_note |
Definition at line 231 of file internal.h.
Definition at line 45 of file internal.h.
| typedef struct cpp_context cpp_context |
Definition at line 140 of file internal.h.
| typedef int iconv_t |
Definition at line 37 of file internal.h.
Definition at line 127 of file internal.h.
| enum include_type |
| IT_INCLUDE | |
| IT_INCLUDE_NEXT | |
| IT_IMPORT | |
| IT_CMDLINE | |
| IT_INCLUDE | |
| IT_INCLUDE_NEXT | |
| IT_IMPORT | |
| IT_CMDLINE | |
| IT_INCLUDE | |
| IT_INCLUDE_NEXT | |
| IT_IMPORT | |
| IT_CMDLINE | |
| IT_INCLUDE | |
| IT_INCLUDE_NEXT | |
| IT_IMPORT | |
| IT_CMDLINE |
Definition at line 118 of file internal.h.
| unsigned char* _cpp_aligned_alloc | ( | cpp_reader * | , | |
| size_t | ||||
| ) |
| _cpp_buff* _cpp_append_extend_buff | ( | cpp_reader * | , | |
| _cpp_buff * | , | |||
| size_t | ||||
| ) |
| bool _cpp_arguments_ok | ( | cpp_reader * | , | |
| cpp_macro * | , | |||
| const cpp_hashnode * | , | |||
| unsigned | int | |||
| ) |
Definition at line 523 of file cppmacro.c.
| int _cpp_begin_message | ( | cpp_reader * | , | |
| int | , | |||
| source_location | , | |||
| unsigned | int | |||
| ) |
Definition at line 73 of file cpperror.c.
| const unsigned char* _cpp_builtin_macro_text | ( | cpp_reader * | , | |
| cpp_hashnode * | ||||
| ) |
Definition at line 129 of file cppmacro.c.
| void _cpp_clean_line | ( | cpp_reader * | ) |
Definition at line 103 of file lex.c.
Referenced by _cpp_get_fresh_line(), _cpp_skip_block_comment(), builtin_macro(), cpp_read_state(), destringize_and_run(), paste_tokens(), and run_directive().
| void _cpp_cleanup_files | ( | cpp_reader * | ) |
| int _cpp_compare_file_date | ( | cpp_reader * | , | |
| const char * | , | |||
| int | ||||
| ) |
| unsigned char* _cpp_convert_input | ( | cpp_reader * | , | |
| const char * | , | |||
| unsigned char * | , | |||
| size_t | , | |||
| size_t | , | |||
| off_t * | ||||
| ) |
| unsigned char* _cpp_copy_replacement_text | ( | const cpp_macro * | , | |
| unsigned char * | ||||
| ) |
Definition at line 784 of file traditional.c.
| bool _cpp_create_definition | ( | cpp_reader * | , | |
| cpp_hashnode * | ||||
| ) |
Definition at line 1546 of file cppmacro.c.
| bool _cpp_create_trad_definition | ( | cpp_reader * | , | |
| cpp_macro * | ||||
| ) |
| void _cpp_define_builtin | ( | cpp_reader * | , | |
| const char * | ||||
| ) |
| void _cpp_destroy_hashtable | ( | cpp_reader * | ) |
| void _cpp_destroy_iconv | ( | cpp_reader * | ) |
| void _cpp_do__Pragma | ( | cpp_reader * | ) |
| void _cpp_do_file_change | ( | cpp_reader * | , | |
| enum | lc_reason, | |||
| const char * | , | |||
| unsigned | int, | |||
| unsigned | int | |||
| ) |
| struct op* _cpp_expand_op_stack | ( | cpp_reader * | ) | [read] |
Definition at line 1069 of file traditional.c.
| void _cpp_extend_buff | ( | cpp_reader * | , | |
| _cpp_buff ** | , | |||
| size_t | ||||
| ) |
| void _cpp_fake_include | ( | cpp_reader * | , | |
| const char * | ||||
| ) |
Definition at line 224 of file cppfiles.c.
| _cpp_file* _cpp_find_file | ( | cpp_reader * | , | |
| const char * | fname, | |||
| cpp_dir * | start_dir, | |||
| bool | fake | |||
| ) |
Definition at line 393 of file files.c.
References cpp_reader::all_files, cpp_reader::bracket_include, CPP_DL_ERROR, CPP_DL_ICE, cpp_error(), cpp_get_options(), _cpp_file::dir, file_hash_entry::file, cpp_reader::file_hash, find_file_in_dir(), free(), htab_find_slot_with_hash(), htab_hash_string(), INSERT, make_cpp_file(), _cpp_file::name, new_file_hash_entry(), cpp_dir::next, file_hash_entry::next, _cpp_file::next_file, NULL, open_file_failed(), cpp_reader::quote_include, search_cache(), search_path_exhausted(), file_hash_entry::start_dir, and file_hash_entry::u.
Referenced by _cpp_compare_file_date(), _cpp_fake_include(), and _cpp_stack_include().
| void _cpp_free_definition | ( | cpp_hashnode * | ) |
Definition at line 1294 of file cppmacro.c.
| _cpp_buff* _cpp_get_buff | ( | cpp_reader * | , | |
| size_t | ||||
| ) |
| bool _cpp_get_fresh_line | ( | cpp_reader * | ) |
Definition at line 771 of file lex.c.
Referenced by _cpp_lex_direct(), _cpp_read_logical_line_trad(), and _cpp_scan_out_logical_line().
| int _cpp_handle_directive | ( | cpp_reader * | , | |
| int | ||||
| ) |
| void _cpp_init_directives | ( | cpp_reader * | ) |
| void _cpp_init_files | ( | cpp_reader * | ) |
| void _cpp_init_hashtable | ( | cpp_reader * | , | |
| hash_table * | ||||
| ) |
| void _cpp_init_internal_pragmas | ( | cpp_reader * | ) |
| cpp_token* _cpp_lex_direct | ( | cpp_reader * | ) |
| const cpp_token* _cpp_lex_token | ( | cpp_reader * | ) |
| void _cpp_mark_file_once_only | ( | cpp_reader * | , | |
| struct _cpp_file * | ||||
| ) |
| void _cpp_maybe_push_include_file | ( | cpp_reader * | ) |
Referenced by _cpp_pop_buffer().
| void _cpp_overlay_buffer | ( | cpp_reader * | pfile, | |
| const unsigned char * | , | |||
| size_t | ||||
| ) |
| bool _cpp_parse_expr | ( | cpp_reader * | ) |
| void _cpp_pop_buffer | ( | cpp_reader * | ) |
| void _cpp_pop_context | ( | cpp_reader * | ) |
Definition at line 1083 of file cppmacro.c.
| void _cpp_pop_file_buffer | ( | cpp_reader * | , | |
| struct _cpp_file * | ||||
| ) |
| void _cpp_process_line_notes | ( | cpp_reader * | , | |
| int | ||||
| ) |
Definition at line 255 of file lex.c.
Referenced by _cpp_lex_direct(), _cpp_scan_out_logical_line(), _cpp_skip_block_comment(), and skip_line_comment().
| void _cpp_push_text_context | ( | cpp_reader * | , | |
| cpp_hashnode * | , | |||
| const unsigned char * | , | |||
| size_t | ||||
| ) |
Definition at line 1012 of file cppmacro.c.
| bool _cpp_read_file_entries | ( | cpp_reader * | , | |
| FILE * | ||||
| ) |
| bool _cpp_read_logical_line_trad | ( | cpp_reader * | ) |
| void _cpp_release_buff | ( | cpp_reader * | , | |
| _cpp_buff * | ||||
| ) |
| void _cpp_remove_overlay | ( | cpp_reader * | ) |
Definition at line 754 of file traditional.c.
| void _cpp_report_missing_guards | ( | cpp_reader * | ) |
Definition at line 647 of file cppfiles.c.
| void _cpp_restore_pragma_names | ( | cpp_reader * | , | |
| char ** | ||||
| ) |
Definition at line 1148 of file directives.c.
| bool _cpp_save_file_entries | ( | cpp_reader * | pfile, | |
| FILE * | f | |||
| ) |
| bool _cpp_save_parameter | ( | cpp_reader * | , | |
| cpp_macro * | , | |||
| cpp_hashnode * | ||||
| ) |
Definition at line 1306 of file cppmacro.c.
| char** _cpp_save_pragma_names | ( | cpp_reader * | ) |
Definition at line 1119 of file directives.c.
| bool _cpp_scan_out_logical_line | ( | cpp_reader * | , | |
| cpp_macro * | ||||
| ) |
Definition at line 343 of file traditional.c.
Referenced by _cpp_create_trad_definition(), _cpp_read_logical_line_trad(), and prepare_directive_trad().
| bool _cpp_skip_block_comment | ( | cpp_reader * | ) |
| bool _cpp_stack_include | ( | cpp_reader * | , | |
| const char * | , | |||
| int | , | |||
| enum | include_type | |||
| ) |
| cpp_token* _cpp_temp_token | ( | cpp_reader * | ) |
| int _cpp_test_assertion | ( | cpp_reader * | , | |
| unsigned int * | ||||
| ) |
| unsigned char* _cpp_unaligned_alloc | ( | cpp_reader * | , | |
| size_t | ||||
| ) |
| cppchar_t _cpp_valid_ucn | ( | cpp_reader * | , | |
| const unsigned char ** | , | |||
| const unsigned char * | , | |||
| int | ||||
| ) |
Definition at line 855 of file charset.c.
References abort, base, c, CPP_DL_ERROR, CPP_DL_WARNING, cpp_error(), CPP_OPTION, CPP_WTRADITIONAL, hex_value, ISXDIGIT, length, result, str, uchar, and ucn_valid_in_identifier().
Referenced by convert_ucn(), and forms_identifier_p().
| int _cpp_warn_if_unused_macro | ( | cpp_reader * | , | |
| cpp_hashnode * | , | |||
| void * | ||||
| ) |
| static int cpp_in_system_header | ( | cpp_reader * | pfile | ) | [inline, static] |
Definition at line 477 of file internal.h.
References cpp_reader::buffer, and cpp_buffer::sysp.
Referenced by _cpp_begin_message(), _cpp_builtin_macro_text(), and _cpp_lex_direct().
| static int ufputs | ( | const unsigned char * | s, | |
| FILE * | f | |||
| ) | [inline, static] |
| static unsigned char * ustrchr | ( | const unsigned char * | s1, | |
| int | c | |||
| ) | [inline, static] |
Definition at line 622 of file internal.h.
References strchr.
Referenced by cpp_read_state(), and do_pragma().
| static int ustrcmp | ( | const unsigned char * | s1, | |
| const unsigned char * | s2 | |||
| ) | [inline, static] |
| static int ustrcspn | ( | const unsigned char * | s1, | |
| const char * | s2 | |||
| ) | [inline, static] |
| static size_t ustrlen | ( | const unsigned char * | s1 | ) | [inline, static] |
Definition at line 610 of file internal.h.
References strlen().
Referenced by builtin_macro(), cpp_valid_state(), push_replacement_text(), save_macros(), and write_macdef().
| static int ustrncmp | ( | const unsigned char * | s1, | |
| const unsigned char * | s2, | |||
| size_t | n | |||
| ) | [inline, static] |
Definition at line 598 of file internal.h.
References strncmp().
Referenced by _cpp_create_definition().
| static unsigned char * uxstrdup | ( | const unsigned char * | s1 | ) | [inline, static] |
| unsigned char _cpp_trigraph_map[UCHAR_MAX+1] |
1.5.6