Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
parse.c File Reference
#include "def.h"
Include dependency graph for parse.c:

Functions

void add_include (struct filepointer *filep, struct inclist *file, struct inclist *file_red, char *include, boolean dot, boolean failOK)
int cppsetup (char *line, struct filepointer *filep, struct inclist *inc)
void define (char *def, struct inclist *file)
void define2 (char *name, char *val, struct inclist *file)
int deftype (char *line, struct filepointer *filep, struct inclist *file_red, struct inclist *file, int parse_it)
int deftype (register char *line, register struct filepointer *filep, register struct inclist *file_red, register struct inclist *file, int parse_it)
struct symtab ** fdefined (register char *symbol, struct inclist *file, struct inclist **srcfile)
int find_includes (struct filepointer *filep, struct inclist *file, struct inclist *file_red, int recursion, boolean failOK)
int gobble (register struct filepointer *filep, struct inclist *file, struct inclist *file_red)
static void inplace_strcpy (char *to, const char *from)
struct symtab ** isdefined (register char *symbol, struct inclist *file, struct inclist **srcfile)
int match (char *str, char **list)
int merge2defines (struct inclist *file1, struct inclist *file2)
struct symtab ** slookup (register char *symbol, register struct inclist *file)
void undefine (char *symbol, register struct inclist *file)
void undefine_all (register struct inclist *file)
int zero_value (char *exp, struct filepointer *filep, struct inclist *file_red)
int zero_value (register char *exp, register struct filepointer *filep, register struct inclist *file_red)

Variables

char * directives []
struct inclist maininclist

Function Documentation

◆ add_include()

void add_include ( struct filepointer * filep,
struct inclist * file,
struct inclist * file_red,
char * include,
boolean dot,
boolean failOK )
extern

Definition at line 49 of file pr.c.

◆ cppsetup()

int cppsetup ( char * line,
struct filepointer * filep,
struct inclist * inc )
extern

◆ define()

void define ( char * def,
struct inclist * file )

Definition at line 374 of file parse.c.

◆ define2()

void define2 ( char * name,
char * val,
struct inclist * file )

Definition at line 301 of file parse.c.

◆ deftype() [1/2]

int deftype ( char * line,
struct filepointer * filep,
struct inclist * file_red,
struct inclist * file,
int parse_it )
extern

◆ deftype() [2/2]

int deftype ( register char * line,
register struct filepointer * filep,
register struct inclist * file_red,
register struct inclist * file,
int parse_it )

Definition at line 108 of file parse.c.

◆ fdefined()

struct symtab ** fdefined ( register char * symbol,
struct inclist * file,
struct inclist ** srcfile )

Definition at line 246 of file parse.c.

◆ find_includes()

int find_includes ( struct filepointer * filep,
struct inclist * file,
struct inclist * file_red,
int recursion,
boolean failOK )

Definition at line 496 of file parse.c.

◆ gobble()

int gobble ( register struct filepointer * filep,
struct inclist * file,
struct inclist * file_red )

Definition at line 48 of file parse.c.

◆ inplace_strcpy()

void inplace_strcpy ( char * to,
const char * from )
static

Definition at line 98 of file parse.c.

◆ isdefined()

struct symtab ** isdefined ( register char * symbol,
struct inclist * file,
struct inclist ** srcfile )

Definition at line 275 of file parse.c.

◆ match()

int match ( char * str,
char ** list )
extern

◆ merge2defines()

int merge2defines ( struct inclist * file1,
struct inclist * file2 )
extern

Definition at line 426 of file parse.c.

◆ slookup()

struct symtab ** slookup ( register char * symbol,
register struct inclist * file )

Definition at line 392 of file parse.c.

◆ undefine()

void undefine ( char * symbol,
register struct inclist * file )

Definition at line 475 of file parse.c.

◆ undefine_all()

void undefine_all ( register struct inclist * file)

Definition at line 486 of file parse.c.

◆ zero_value() [1/2]

int zero_value ( char * exp,
struct filepointer * filep,
struct inclist * file_red )
extern

◆ zero_value() [2/2]

int zero_value ( register char * exp,
register struct filepointer * filep,
register struct inclist * file_red )

Definition at line 293 of file parse.c.

Variable Documentation

◆ directives

char* directives[]
extern

Definition at line 71 of file main.c.

◆ maininclist

struct inclist maininclist
extern

Definition at line 97 of file main.c.