decl : sigtypes declnamelist SEMICOLON

def p_decl(self, p):
        'decl : sigtypes declnamelist SEMICOLON'
        decllist = []
        for rname, rlength in p[2]:
            decllist.extend(self.create_decl(p[1], rname, length=rlength,
                                             lineno=p.lineno(2)))
        p[0] = Decl(tuple(decllist), lineno=p.lineno(1))
        p.set_lineno(0, p.lineno(1))