summaryrefslogtreecommitdiff
path: root/src/parsetree.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-01-17 13:44:55 -0500
committerAdrian Thurston <thurston@complang.org>2015-01-17 13:44:55 -0500
commitcad4bb566197026fbdaddb2762cd622ef6678dec (patch)
tree597193e8b79a38838512b68c51b6b1b1fd425ef2 /src/parsetree.h
parent986766e7b9305ceb7856a96941ce919bb3885570 (diff)
downloadcolm-cad4bb566197026fbdaddb2762cd622ef6678dec.tar.gz
can now address key in a map element
Diffstat (limited to 'src/parsetree.h')
-rw-r--r--src/parsetree.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/parsetree.h b/src/parsetree.h
index df53470f..bc3ec2f6 100644
--- a/src/parsetree.h
+++ b/src/parsetree.h
@@ -2259,7 +2259,9 @@ struct ObjectField
RhsNameType,
ParamValType,
ParamRefType,
- LexSubstrType
+ LexSubstrType,
+ GenericElementType,
+ GenericDependentType
};
ObjectField()
@@ -2274,6 +2276,7 @@ struct ObjectField
isExport(false),
useGenericId(false),
generic(0),
+ mapKeyField(0),
dirtyTree(false),
inGetR( IN_HALT ),
inGetWC( IN_HALT ),
@@ -2348,6 +2351,8 @@ struct ObjectField
bool useGenericId;
GenericType *generic;
+
+ ObjectField *mapKeyField;
/* True if some aspect of the tree has possibly been written to. This does
* not include attributes. This is here so we can optimize the storage of