qiskit/qasm/qasmlexer.py
def t_newline(self, t):
        r'\n+'
        self.lineno += len(t.value)
        t.lexer.lineno = self.lineno
def t_newline(self, t):
        r'\n+'
        self.lineno += len(t.value)
        t.lexer.lineno = self.lineno
def t_newline ( self , t ) : self . lineno += len ( t . value ) t . lexer . lineno = self . lineno
r'\n+
r \ n +