xtuml/load.py
def t_ID(self, t):
        r'[A-Za-z_][\w_]*'
        vup = t.value.upper()
        if vup in self.reserved:
            t.type = vup
        t.endlexpos = t.lexpos + len(t.value)
        return t
def t_ID(self, t):
        r'[A-Za-z_][\w_]*'
        vup = t.value.upper()
        if vup in self.reserved:
            t.type = vup
        t.endlexpos = t.lexpos + len(t.value)
        return t
def t_ID ( self , t ) : vup = t . value . upper ( ) if vup in self . reserved : t . type = vup t . endlexpos = t . lexpos + len ( t . value ) return t
r'[A-Za-z_][\w_]*
r [ A - Za - z_ ] [ \ w_ ] *