GDB (xrefs)
|
Go to the source code of this file.
Functions | |
gdb::unique_xmalloc_ptr< char > | macro_expand (const char *source, const macro_scope &scope) |
gdb::unique_xmalloc_ptr< char > | macro_expand_once (const char *source, const macro_scope &scope) |
gdb::unique_xmalloc_ptr< char > | macro_expand_next (const char **lexptr, const macro_scope &scope) |
int | macro_is_whitespace (int c) |
int | macro_is_identifier_nondigit (int c) |
int | macro_is_digit (int c) |
gdb::unique_xmalloc_ptr< char > | macro_stringify (const char *str) |
gdb::unique_xmalloc_ptr< char > macro_expand | ( | const char * | source, |
const macro_scope & | scope ) |
Definition at line 1398 of file macroexp.c.
References growable_macro_buffer::appendc(), growable_macro_buffer::last_token, growable_macro_buffer::release(), and scan().
Referenced by macro_expand_command().
gdb::unique_xmalloc_ptr< char > macro_expand_next | ( | const char ** | lexptr, |
const macro_scope & | scope ) |
Definition at line 1420 of file macroexp.c.
References growable_macro_buffer::appendc(), get_token(), growable_macro_buffer::last_token, maybe_expand(), growable_macro_buffer::release(), and shared_macro_buffer::text.
Referenced by lex_one_token().
gdb::unique_xmalloc_ptr< char > macro_expand_once | ( | const char * | source, |
const macro_scope & | scope ) |
Definition at line 1414 of file macroexp.c.
Referenced by macro_expand_once_command().
int macro_is_digit | ( | int | c | ) |
Definition at line 187 of file macroexp.c.
Referenced by extract_identifier(), get_identifier(), and get_pp_number().
int macro_is_identifier_nondigit | ( | int | c | ) |
Definition at line 194 of file macroexp.c.
Referenced by extract_identifier(), get_identifier(), and get_pp_number().
int macro_is_whitespace | ( | int | c | ) |
Definition at line 176 of file macroexp.c.
Referenced by get_token(), skip_ws(), and stringify().
gdb::unique_xmalloc_ptr< char > macro_stringify | ( | const char * | str | ) |
Definition at line 688 of file macroexp.c.
References growable_macro_buffer::appendc(), growable_macro_buffer::release(), and stringify().
Referenced by fixup_definition().