aboutsummaryrefslogtreecommitdiff
path: root/inc/parse.h
diff options
context:
space:
mode:
authorMarvin Borner2023-05-26 22:03:58 +0200
committerMarvin Borner2023-05-26 22:03:58 +0200
commitd977a98fec7fcea74e7ab51762a6d93084a8c70c (patch)
treec44d2e0b2875b164530f7ea78205b20a049c8b5b /inc/parse.h
parent896e0e1bd8502a6d7f901f9e13bcd95df5d98635 (diff)
Added depth
Diffstat (limited to 'inc/parse.h')
-rw-r--r--inc/parse.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/parse.h b/inc/parse.h
index dd25806..c1e21b2 100644
--- a/inc/parse.h
+++ b/inc/parse.h
@@ -12,6 +12,7 @@ struct term {
term_type_t type;
hash_t hash;
size_t refs;
+ size_t depth;
union {
struct {
hash_t term;
@@ -26,6 +27,7 @@ struct term {
} u;
};
-hash_t parse_blc(char **term);
+hash_t parse_blc(char **term, int depth);
+int parse_get_max_depth(void);
#endif