qiskit/qasm/qasmparser.py
def p_reset(self, program):
        """
        reset : RESET primary
        """
        program[0] = node.Reset([program[2]])
        self.verify_reg(program[2], 'qreg')
def p_reset(self, program):
        """
        reset : RESET primary
        """
        program[0] = node.Reset([program[2]])
        self.verify_reg(program[2], 'qreg')
def p_reset ( self , program ) : program [ 0 ] = node . Reset ( [ program [ 2 ] ] ) self . verify_reg ( program [ 2 ] , 'qreg' )
reset : RESET primary
reset : RESET primary