def p_program(self, p): """program : source_elements""" p[0] = ast.Program(p[1], lineno=p.lineno(1))
def p_program(self, p): """program : source_elements""" p[0] = ast.Program(p[1])