summaryrefslogtreecommitdiff
path: root/src/parsetree.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-06-13 12:11:23 -0400
committerAdrian Thurston <thurston@complang.org>2015-06-13 12:11:23 -0400
commit324f1fc08d2876f8084f226a54bb06e0e817a791 (patch)
tree51d7ee213f446b8aa4531192aca3cf66f84a4aa8 /src/parsetree.h
parent61989e6087d38923b132d80892375d78f68e8c13 (diff)
downloadcolm-324f1fc08d2876f8084f226a54bb06e0e817a791.tar.gz
cleanup and simplification, generic elements and various
Diffstat (limited to 'src/parsetree.h')
-rw-r--r--src/parsetree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parsetree.h b/src/parsetree.h
index 2d959506..d4e52fd1 100644
--- a/src/parsetree.h
+++ b/src/parsetree.h
@@ -735,6 +735,9 @@ typedef DList<RegionImpl> RegionImplList;
typedef Vector<Namespace*> NamespaceVect;
+/* Generics have runtime-representations, so we must track them as unique
+ * types. This gives the runtimes some idea of what is contained in the
+ * structures. */
struct GenericType
: public DListEl<GenericType>
{