feisty meow concerns codebase  2.140
ifparser.cpp File Reference
#include "ifparser.h"
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for ifparser.cpp:

Go to the source code of this file.

Macros

#define DO(val)   if (!(val)) return NULL
 
#define CALLFUNC(ggg, fff)   (*((ggg)->funcs.fff))
 
#define SKIPSPACE(ccc)   while (isspace(*ccc)) ccc++
 
#define isvarfirstletter(ccc)   (isalpha(ccc) || (ccc) == '_')
 

Functions

const char * ParseIfExpression (IfParser *g, const char *cp, int *valp)
 

Macro Definition Documentation

◆ CALLFUNC

#define CALLFUNC (   ggg,
  fff 
)    (*((ggg)->funcs.fff))

Definition at line 75 of file ifparser.cpp.

◆ DO

#define DO (   val)    if (!(val)) return NULL

Definition at line 74 of file ifparser.cpp.

◆ isvarfirstletter

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

Definition at line 77 of file ifparser.cpp.

◆ SKIPSPACE

#define SKIPSPACE (   ccc)    while (isspace(*ccc)) ccc++

Definition at line 76 of file ifparser.cpp.

Function Documentation

◆ ParseIfExpression()

const char* ParseIfExpression ( IfParser g,
const char *  cp,
int *  valp 
)

Definition at line 397 of file ifparser.cpp.