add introductory comments to base64 examples
This commit is contained in:
parent
32dfae0af3
commit
1998ae243a
3 changed files with 39 additions and 0 deletions
|
|
@ -1,3 +1,13 @@
|
|||
// Example parser: Base64, syntax only.
|
||||
//
|
||||
// Demonstrates how to construct a Hammer parser that recognizes valid Base64
|
||||
// sequences.
|
||||
//
|
||||
// Note that no semantic evaluation of the sequence is performed, i.e. the
|
||||
// byte sequence being represented is not returned, or determined. See
|
||||
// base64_sem1.c and base64_sem2.c for examples how to attach appropriate
|
||||
// semantic actions to the grammar.
|
||||
|
||||
#include "../src/hammer.h"
|
||||
|
||||
const HParser* document = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue