diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-17 12:24:36 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-17 12:24:36 +0200 |
commit | d37d1f54c986ff67af0e5edc62af60a4a1a21324 (patch) | |
tree | bee3bf705f8b67c3887b6846d52cafe72c6b7d68 /libparser.h | |
parent | Add inclusion guard to libparser.h (diff) | |
download | libparser-d37d1f54c986ff67af0e5edc62af60a4a1a21324.tar.gz libparser-d37d1f54c986ff67af0e5edc62af60a4a1a21324.tar.bz2 libparser-d37d1f54c986ff67af0e5edc62af60a4a1a21324.tar.xz |
Do not use libsimple outside of the generator
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libparser.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libparser.h b/libparser.h index 31d29b6..ed7f0f7 100644 --- a/libparser.h +++ b/libparser.h @@ -72,7 +72,6 @@ struct libparser_unit { extern const struct libparser_rule *const libparser_rule_table[]; -struct libparser_unit *libparser_parse_file(const struct libparser_rule *const rules[], - const char *data, size_t length, int *exceptionp); +int libparser_parse_file(const struct libparser_rule *const rules[], const char *data, size_t length, struct libparser_unit **rootp); #endif |