???<!-- GIF89;a -->
123123123123
.....................................................................................................................................???<!-- GIF89;a -->
123123123123
.....................................................................................................................................ó
fc           @   s_   d  Z  d d l Z d d l Z d Z e j e ƒ Z d „  Z d „  Z e d k r[ e ƒ  n  d S(   så  Create a TAGS file for Python programs, usable with GNU Emacs.

usage: eptags pyfiles...

The output TAGS file is usable with Emacs version 18, 19, 20.
Tagged are:
 - functions (even inside other defs or classes)
 - classes

eptags warns about files it cannot open.
eptags will not give warnings about duplicate tags.

BUGS:
   Because of tag duplication (methods with the same name in different
   classes), TAGS files are not very useful for most object-oriented
   python projects.
iÿÿÿÿNs;   ^[ \t]*(def|class)[ \t]+([a-zA-Z_][a-zA-Z0-9_]*)[ \t]*[:\(]c   
      C   s  y t  |  d ƒ } Wn t j j d |  ƒ d SXd } d } g  } d } x† | j ƒ  } | sc Pn  | d } t j | ƒ } | r¿ | j d ƒ d | | f }	 | j |	 ƒ | t	 |	 ƒ } n  | t	 | ƒ } qM W| j d |  | f ƒ x | D] }	 | j |	 ƒ qñ Wd S(   sC   Append tags found in file named 'filename' to the open file 'outfp't   rs   Cannot open %s
Ni    i   s   %d,%d
s   
%s,%d
(
   t   opent   syst   stderrt   writet   readlinet   matchert   searcht   groupt   appendt   len(
   t   filenamet   outfpt   fpt   charnot   linenot   tagst   sizet   linet   mt   tag(    (    s,   /usr/lib64/python2.7/Tools/scripts/eptags.pyt
   treat_file   s.    
c          C   s8   t  d d ƒ }  x" t j d D] } t | |  ƒ q Wd  S(   Nt   TAGSt   wi   (   R   R   t   argvR   (   R   R   (    (    s,   /usr/lib64/python2.7/Tools/scripts/eptags.pyt   main2   s    t   __main__(	   t   __doc__R   t   ret   exprt   compileR   R   R   t   __name__(    (    (    s,   /usr/lib64/python2.7/Tools/scripts/eptags.pyt   <module>   s   		