aboutsummaryrefslogtreecommitdiff
path: root/interpreter/graphs.h
diff options
context:
space:
mode:
authorCamil Staps2016-10-07 20:51:56 +0200
committerCamil Staps2016-10-07 20:51:56 +0200
commit731442d43c8e18cbd94377054adba9ab79be09f2 (patch)
tree683949385de5ba630ca85ac12f93512d4a5ae889 /interpreter/graphs.h
parentMakefile: add override to CFLAGS (diff)
Resolve #12, don't show code keyword in debug graph
Diffstat (limited to 'interpreter/graphs.h')
-rw-r--r--interpreter/graphs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/interpreter/graphs.h b/interpreter/graphs.h
index a577095..204993c 100644
--- a/interpreter/graphs.h
+++ b/interpreter/graphs.h
@@ -25,6 +25,8 @@ struct node {
void use_node(struct node* node, unsigned int count);
void free_node(struct node* node, unsigned int count, bool free_first);
+struct node*** flatten_app_args(struct node** from, bool remove_redirs);
+
void remove_redirects(struct node *node);
void cpy_expression_to_node(struct node* dst, expression* src);