APG
… ABNF Parser Generator
|
Sets up and runs a parser for the MEGACO grammar. More...
Go to the source code of this file.
Macros | |
#define | MASSERT(cond, msg) if(!(cond)){vTerminalAlertMsg(__LINE__, __FILE__, (msg));} |
Functions | |
int | main () |
Sets up and runs a parser for the MEGACO grammar.
The grammar file for this test has been generated with the parser generator command:
apg /in:MEGACO.bnf /C++:MEGACO /dwarnings /dtypes
Definition in file main.cpp.
#define MASSERT | ( | cond, | |
msg | |||
) | if(!(cond)){vTerminalAlertMsg(__LINE__, __FILE__, (msg));} |
An assertion macro which calls the vTerminalAlertMsg() alert handler on errors.