GDB (xrefs)
Typedefs | Functions
/home/stan/gdb/src/gdb/macroexp.h File Reference

Go to the source code of this file.

Typedefs

typedef struct macro_definition *( macro_lookup_ftype )(const char *name, void *baton)

Functions

char * macro_expand (const char *source, macro_lookup_ftype *lookup_func, void *lookup_func_baton)
char * macro_expand_once (const char *source, macro_lookup_ftype *lookup_func, void *lookup_func_baton)
char * macro_expand_next (const char **lexptr, macro_lookup_ftype *lookup_func, void *lookup_baton)
int macro_is_whitespace (int c)
int macro_is_identifier_nondigit (int c)
int macro_is_digit (int c)
char * macro_stringify (const char *str)

Typedef Documentation

typedef struct macro_definition*( macro_lookup_ftype)(const char *name, void *baton)

Definition at line 31 of file macroexp.h.


Function Documentation

char* macro_expand ( const char *  source,
macro_lookup_ftype lookup_func,
void *  lookup_func_baton 
)
char* macro_expand_next ( const char **  lexptr,
macro_lookup_ftype lookup_func,
void *  lookup_baton 
)
char* macro_expand_once ( const char *  source,
macro_lookup_ftype lookup_func,
void *  lookup_func_baton 
)

Definition at line 1434 of file macroexp.c.

References _, and error().

Referenced by macro_expand_once_command().

Definition at line 198 of file macroexp.c.

Referenced by extract_identifier(), get_identifier(), and get_pp_number().

Definition at line 205 of file macroexp.c.

Referenced by extract_identifier(), get_identifier(), and get_pp_number().

Definition at line 187 of file macroexp.c.

Referenced by get_token(), skip_ws(), and stringify().

char* macro_stringify ( const char *  str)

Definition at line 703 of file macroexp.c.

References appendc(), free_buffer_return_text(), init_buffer(), len, and stringify().

Referenced by fixup_definition().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines