summaryrefslogtreecommitdiff
path: root/indra/llxuixml/llxuiparser.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-04-13 23:07:48 -0700
committerRichard Linden <none@none>2012-04-13 23:07:48 -0700
commit82c9b0fbbca6f61e57464a6126ae36a59b13d6ed (patch)
treec4f75f39f2c1f8753af9cc8c94dfd172293561e3 /indra/llxuixml/llxuiparser.cpp
parent65b25bd909251c91a384b8a05efe68d9415e0acf (diff)
fixed build
all param values now support named values uniformly
Diffstat (limited to 'indra/llxuixml/llxuiparser.cpp')
-rw-r--r--indra/llxuixml/llxuiparser.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/indra/llxuixml/llxuiparser.cpp b/indra/llxuixml/llxuiparser.cpp
index 2e1f8888d0..58ed24b08b 100644
--- a/indra/llxuixml/llxuiparser.cpp
+++ b/indra/llxuixml/llxuiparser.cpp
@@ -130,7 +130,7 @@ struct Any : public LLInitParam::Block<Any, Occurs>
struct All : public LLInitParam::Block<All, Occurs>
{
- Multiple< Lazy<Element, IS_BLOCK> > elements;
+ Multiple< Lazy<Element, IS_A_BLOCK> > elements;
All()
: elements("element")
@@ -141,11 +141,11 @@ struct All : public LLInitParam::Block<All, Occurs>
struct Choice : public LLInitParam::ChoiceBlock<Choice, Occurs>
{
- Alternative< Lazy<Element, IS_BLOCK> > element;
- Alternative< Lazy<Group, IS_BLOCK> > group;
- Alternative< Lazy<Choice, IS_BLOCK> > choice;
- Alternative< Lazy<Sequence, IS_BLOCK> > sequence;
- Alternative< Lazy<Any, IS_BLOCK> > any;
+ Alternative< Lazy<Element, IS_A_BLOCK> > element;
+ Alternative< Lazy<Group, IS_A_BLOCK> > group;
+ Alternative< Lazy<Choice, IS_A_BLOCK> > choice;
+ Alternative< Lazy<Sequence, IS_A_BLOCK> > sequence;
+ Alternative< Lazy<Any, IS_A_BLOCK> > any;
Choice()
: element("element"),
@@ -159,11 +159,11 @@ struct Choice : public LLInitParam::ChoiceBlock<Choice, Occurs>
struct Sequence : public LLInitParam::ChoiceBlock<Sequence, Occurs>
{
- Alternative< Lazy<Element, IS_BLOCK> > element;
- Alternative< Lazy<Group, IS_BLOCK> > group;
- Alternative< Lazy<Choice, IS_BLOCK> > choice;
- Alternative< Lazy<Sequence, IS_BLOCK> > sequence;
- Alternative< Lazy<Any, IS_BLOCK> > any;
+ Alternative< Lazy<Element, IS_A_BLOCK> > element;
+ Alternative< Lazy<Group, IS_A_BLOCK> > group;
+ Alternative< Lazy<Choice, IS_A_BLOCK> > choice;
+ Alternative< Lazy<Sequence, IS_A_BLOCK> > sequence;
+ Alternative< Lazy<Any, IS_A_BLOCK> > any;
};
struct GroupContents : public LLInitParam::ChoiceBlock<GroupContents, Occurs>
@@ -248,7 +248,7 @@ struct ComplexType : public LLInitParam::Block<ComplexType, ComplexTypeContents>
Optional<bool> mixed;
Multiple<Attribute> attribute;
- Multiple< Lazy<Element, IS_BLOCK > > elements;
+ Multiple< Lazy<Element, IS_A_BLOCK > > elements;
ComplexType()
: name("name"),