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

Classes

struct  _parse_data

Macros

#define isvarfirstletter(ccc)
#define MAXNAMELEN   256

Functions

int cppsetup (register char *line, register struct filepointer *filep, register struct inclist *inc)
static struct symtab ** lookup_variable (IfParser *ip, const char *var, int len)
static int my_eval_defined (IfParser *ip, const char *var, int len)
static long my_eval_variable (IfParser *ip, const char *var, int len)
static const char * my_if_errors (IfParser *ip, const char *cp, const char *expecting)

Macro Definition Documentation

◆ isvarfirstletter

#define isvarfirstletter ( ccc)
Value:
(isalpha(ccc) || (ccc) == '_')

Definition at line 177 of file cppsetup.c.

◆ MAXNAMELEN

#define MAXNAMELEN   256

Definition at line 154 of file cppsetup.c.

Function Documentation

◆ cppsetup()

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

Definition at line 196 of file cppsetup.c.

◆ lookup_variable()

struct symtab ** lookup_variable ( IfParser * ip,
const char * var,
int len )
static

Definition at line 156 of file cppsetup.c.

◆ my_eval_defined()

int my_eval_defined ( IfParser * ip,
const char * var,
int len )
static

Definition at line 169 of file cppsetup.c.

◆ my_eval_variable()

long my_eval_variable ( IfParser * ip,
const char * var,
int len )
static

Definition at line 179 of file cppsetup.c.

◆ my_if_errors()

const char * my_if_errors ( IfParser * ip,
const char * cp,
const char * expecting )
static

Definition at line 128 of file cppsetup.c.