aboutsummaryrefslogtreecommitdiffstats
path: root/libparser.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-17 12:24:36 +0200
committerMattias Andrée <maandree@kth.se>2021-04-17 12:24:36 +0200
commitd37d1f54c986ff67af0e5edc62af60a4a1a21324 (patch)
treebee3bf705f8b67c3887b6846d52cafe72c6b7d68 /libparser.h
parentAdd inclusion guard to libparser.h (diff)
downloadlibparser-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.h3
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