ReactOS 0.4.16-dev-41-ge8c7597
|
#include <assert.h>
#include <ctype.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "wpp_private.h"
Go to the source code of this file.
Classes | |
struct | pp_def_state |
Macros | |
#define | HASHKEY 2039 |
#define | MAXIFSTACK 64 |
Typedefs | |
typedef struct pp_def_state | pp_def_state_t |
Functions | |
void * | pp_xmalloc (size_t size) |
void * | pp_xrealloc (void *p, size_t size) |
char * | pp_xstrdup (const char *str) |
static int | pphash (const char *str) |
pp_entry_t * | pplookup (const char *ident) |
static void | free_pp_entry (pp_entry_t *ppp, int idx) |
int | pp_push_define_state (void) |
void | pp_pop_define_state (void) |
void | pp_del_define (const char *name) |
pp_entry_t * | pp_add_define (const char *def, const char *text) |
pp_entry_t * | pp_add_macro (char *id, marg_t *args[], int nargs, mtext_t *exp) |
void * | pp_open_include (const char *name, int type, const char *parent_name, char **newpath) |
void | pp_push_if (pp_if_state_t s) |
pp_if_state_t | pp_pop_if (void) |
pp_if_state_t | pp_if_state (void) |
void | pp_next_if_state (int i) |
int | pp_get_if_depth (void) |
void WINAPIV | pp_internal_error (const char *file, int line, const char *s,...) |
Variables | |
struct pp_status | pp_status |
static pp_def_state_t * | pp_def_state |
static pp_if_state_t | if_stack [MAXIFSTACK] |
static int | if_stack_idx = 0 |
typedef struct pp_def_state pp_def_state_t |
|
static |
Definition at line 111 of file preproc.c.
Referenced by pp_del_define().
pp_entry_t * pp_add_define | ( | const char * | def, |
const char * | text | ||
) |
Definition at line 194 of file preproc.c.
Referenced by add_cmdline_defines(), and add_special_defines().
pp_entry_t * pp_add_macro | ( | char * | id, |
marg_t * | args[], | ||
int | nargs, | ||
mtext_t * | exp | ||
) |
Definition at line 252 of file preproc.c.
Definition at line 176 of file preproc.c.
Referenced by del_cmdline_defines(), del_special_defines(), pp_add_define(), pp_add_macro(), and pp_pop_define_state().
Definition at line 433 of file preproc.c.
Referenced by wpp_parse().
pp_if_state_t pp_if_state | ( | void | ) |
Definition at line 405 of file preproc.c.
Referenced by pp_next_if_state(), pp_pop_if(), and pp_push_if().
Definition at line 438 of file preproc.c.
Referenced by pp_next_if_state(), pp_pop_if(), and pp_push_if().
Definition at line 414 of file preproc.c.
Definition at line 290 of file preproc.c.
Definition at line 161 of file preproc.c.
Referenced by wpp_parse().
pp_if_state_t pp_pop_if | ( | void | ) |
Definition at line 380 of file preproc.c.
Referenced by wpp_parse().
Definition at line 148 of file preproc.c.
Referenced by wpp_parse().
void pp_push_if | ( | pp_if_state_t | s | ) |
Definition at line 357 of file preproc.c.
Referenced by pp_next_if_state().
Definition at line 45 of file preproc.c.
Referenced by pp_add_define(), pp_add_macro(), pp_push_define_state(), pp_xstrdup(), wpp_add_define(), and wpp_default_lookup().
Definition at line 59 of file preproc.c.
Referenced by wpp_add_include_path().
Definition at line 73 of file preproc.c.
Referenced by generic_msg(), pp_add_define(), pp_add_macro(), wpp_add_cmdline_define(), wpp_add_define(), wpp_add_include_path(), and wpp_parse().
Definition at line 87 of file preproc.c.
Referenced by pp_add_define(), pp_add_macro(), pp_del_define(), and pplookup().
pp_entry_t * pplookup | ( | const char * | ident | ) |
Definition at line 95 of file preproc.c.
Referenced by pp_add_define(), pp_add_macro(), and pp_del_define().
|
static |
Definition at line 42 of file preproc.c.
Referenced by pp_if_state(), pp_pop_if(), and pp_push_if().
|
static |
Definition at line 43 of file preproc.c.
Referenced by pp_get_if_depth(), pp_if_state(), pp_pop_if(), and pp_push_if().
|
static |
Definition at line 39 of file preproc.c.
Referenced by pp_pop_define_state(), and pp_push_define_state().