]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/ParsedSource.cpp
added support for arrays of property lists
[l2e.git] / src / loader / ParsedSource.cpp
index 75d7efbc1bfa2dbc49ff404a89245dcb7fee2382..9d0f597e3d7c10ca0328586d8941f1f29ac48ff6 100644 (file)
@@ -98,7 +98,17 @@ Literal::Literal(const vector<Value *> &v)
 , i1(0), i2(0)
 , i3(0), i4(0)
 , b(false)
-, type(ARRAY) {
+, type(ARRAY_VALUES) {
+
+}
+
+Literal::Literal(const std::vector<PropertyList *> &pls)
+: props(0)
+, propertyLists(pls)
+, i1(0), i2(0)
+, i3(0), i4(0)
+, b(false)
+, type(ARRAY_PROPS) {
 
 }