             attr.attrName = attrName
             attr.element = args.element
             args.list.push attr
+        else if args.attr_type is 'M'
+            args.list.push base
+        return
 
     (attrName, args) ->
         if args.skip_attr.indexOf(attrName) >= 0


        directive = alight.directivePreprocessor attrName, args
        if directive.noNs
            return addAttr attrName, args
        if directive.noDirective
            return addAttr attrName, args, { noDirective:true }

        args.list.push
            name: attrName
            directive: directive
            priority: directive.priority
            attrName: attrName


sortByPriority = (a, b) ->


    d = list[0]
    if d.noDirective
        throw "Comment directive not found: #{dirName}"

    directive = d.directive
    env =
