trepan/processor/parse/scanner.py
def t_number(self, s):
        r'\d+'
        pos = self.pos
        self.add_token('NUMBER', int(s))
        self.pos = pos + len(s)
def t_number(self, s):
        r'\d+'
        pos = self.pos
        self.add_token('NUMBER', int(s))
        self.pos = pos + len(s)
def t_number ( self , s ) : pos = self . pos self . add_token ( 'NUMBER' , int ( s ) ) self . pos = pos + len ( s )
r'\d+
r \ d +