diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-17 23:55:20 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-17 23:55:20 +0200 |
commit | 508b78615738a670cb242c343574a1de056e8900 (patch) | |
tree | 7234989f72d83302a1163d3b95a8b88e7bddb77d | |
parent | makefile: install/uninstall libparser.7 and libparser-generate.1 (diff) | |
download | libparser-508b78615738a670cb242c343574a1de056e8900.tar.gz libparser-508b78615738a670cb242c343574a1de056e8900.tar.bz2 libparser-508b78615738a670cb242c343574a1de056e8900.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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; |