Diff for /Amaya/amaya/templateInstantiate.c between versions 1.113 and 1.114

version 1.113, 2009/08/17 15:28:52 version 1.114, 2009/08/18 14:33:16
Line 290  Element ParseTemplate (XTigerTemplate t, Line 290  Element ParseTemplate (XTigerTemplate t,
   Element       next, child = NULL, savedInline, prev, parent = NULL;    Element       next, child = NULL, savedInline, prev, parent = NULL;
   ElementType   elType, otherType;    ElementType   elType, otherType;
   Declaration   dec;    Declaration   dec;
     int           option;
   char         *name, *types;    char         *name, *types;
     ThotBool      opt;
   
   if (!t || !el)    if (!t || !el)
     return parentLine;      return parentLine;
Line 430  Element ParseTemplate (XTigerTemplate t, Line 432  Element ParseTemplate (XTigerTemplate t,
                 }                  }
             }              }
           if (child == NULL)            if (child == NULL)
             InstantiateUse (t, el, doc, parentLine, FALSE);              {
                 option = GetAttributeIntValueFromNum (el, Template_ATTR_option);
                 opt = (option == Template_ATTR_option_VAL_option_set);
                 InstantiateUse (t, el, doc, parentLine, FALSE);
               }
           else            else
             {              {
               Template_FixAccessRight (t, el, doc);                Template_FixAccessRight (t, el, doc);

Removed from v.1.113  
changed lines
  Added in v.1.114


Webmaster