code: def t_FLOAT(tok):  # pylint: disable=locally-disabled,invalid-name
          r'\d+\.\d+'
          tok.value = (tok.type, float(tok.value))
          return tof t_FLOAT(tok):  # pylint: disable=locally-disabled,invalid-name
          r'\d+\.\d+'
          tok.value = (tok.type, float(tok.value))
          return tok
docs: r'\d+\.\d+