summaryrefslogtreecommitdiff
path: root/src/tree.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-05-03 22:58:12 -0400
committerAdrian Thurston <thurston@colm.net>2018-05-03 22:59:18 -0400
commit75ff607ee313d11bc8b8ce5c750aca8082ae18af (patch)
treeac50c339826bae8a9fe82e88e0ff2a72190b6ffd /src/tree.h
parent25e33dd5a8d412fd4f60950ee52fbee892ef97f2 (diff)
downloadcolm-75ff607ee313d11bc8b8ce5c750aca8082ae18af.tar.gz
removed a couple downrefs of parsers and streams
These were left over from the when these structures were trees and not the current incarnation of structs (plain values). Fixex a bug reported a several times. refs #247. http://www.colm.net/pipermail/colm-users/2018-April/000187.html http://www.colm.net/pipermail/colm-users/2017-June/000175.html
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree.h b/src/tree.h
index 53140f39..a0eeff6a 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -151,7 +151,7 @@ enum IterType
IT_User
};
-typedef struct _TreeIter
+typedef struct colm_tree_iter
{
enum IterType type;
ref_t root_ref;
@@ -176,7 +176,7 @@ typedef struct colm_generic_iter
} generic_iter_t;
/* This must overlay tree iter because some of the same bytecodes are used. */
-typedef struct _RevTreeIter
+typedef struct colm_rev_tree_iter
{
enum IterType type;
ref_t root_ref;