|
APG
… an ABNF Parser Generator
|
Processes the syntax phase. Parses the grammar and reports any syntax errors. More...
#include "./api.h"#include "./apip.h"#include "../library/parserp.h"#include "./syntax.h"#include "./semantics.h"#include "sabnf-grammar.h"
Go to the source code of this file.
Functions | |
| void | vApiSyntax (void *vpCtx, abool bStrict) |
| Parse the SABNF grammar to validate that the grammar structure is valid. More... | |
Processes the syntax phase. Parses the grammar and reports any syntax errors.
Definition in file syntax.c.
| void vApiSyntax | ( | void * | vpCtx, |
| abool | bStrict | ||
| ) |
Parse the SABNF grammar to validate that the grammar structure is valid.
| vpCtx | - Pointer to an API context previously returned from vpApiCtor(). |
| bStrict | If true, only strict RFC 5234 syntax is allowed. If false, full SABNF syntax is allowed. |
1.8.17