def p_properties(p): """properties : properties property \n|""" p[0] = twolist(p)
def p_attrlist(p): """attrlist : attribute c attrlist \n|""" p[0] = twolist(p, new=1, list=3)
def p_path(p): """path : path DOTNAME \n| DOTNAME""" p[0] = twolist(p, initial=1)