qiskit/qasm/qasmparser.py
def p_bit_list_0(self, program):
        """
           bit_list : id
        """
        program[0] = node.IdList([program[1]])
        program[1].is_bit = True
        self.update_symtab(program[1])
def p_bit_list_0(self, program):
        """
           bit_list : id
        """
        program[0] = node.IdList([program[1]])
        program[1].is_bit = True
        self.update_symtab(program[1])
def p_bit_list_0 ( self , program ) : program [ 0 ] = node . IdList ( [ program [ 1 ] ] ) program [ 1 ] . is_bit = True self . update_symtab ( program [ 1 ] )
bit_list : id
bit_list : id