diff options
Diffstat (limited to 'libparser.h')
-rw-r--r-- | libparser.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libparser.h b/libparser.h index 67ba11a..88e5b6e 100644 --- a/libparser.h +++ b/libparser.h @@ -4,6 +4,9 @@ #include <stddef.h> + +/* This is mostly internal (unless you want to programmatically create a grammar) { */ + union libparser_sentence; enum libparser_sentence_type { @@ -60,6 +63,9 @@ struct libparser_rule { union libparser_sentence *sentence; }; +/* } */ + + struct libparser_unit { const char *rule; struct libparser_unit *in; |