�`^c@s�dZdZdZdZdZdZdZdZdZd Z d
Z
dZdZd
Z
dZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZd Z d!Z!d"Z"d#Z#d$Z$d%Z%d&Z&d'Z'd(Z(d)Z)d*Z*d+Z+d,Z,d-Z-d.Z.d/Z/d0Z0d1Z1d2Z2d3Z3d4Z4d5Z5d6Z6d7Z7iZ8xBe9�j:�D]1\Z;Z<e=e<�e=d�krfe;e8e<<qfqfW[;[<d8�Z>d9�Z?d:�Z@d;�ZAeBd<kr�eA�nd=S(>s!Token constants (from "token.h").iiiiiiiiii i
iii
iiiiiiiiiiiiiiiiiii i!i"i#i$i%i&i'i(i)i*i+i,i-i.i/i0i1i2i3i4i5icCs
|tkS(N(t NT_OFFSET(tx((s/sys/lib/python2.7/token.pyt
ISTERMINALKscCs
|tkS(N(R(R((s/sys/lib/python2.7/token.pyt
ISNONTERMINALNscCs
|tkS(N(t ENDMARKER(R((s/sys/lib/python2.7/token.pytISEOFQscCs�ddl}ddl}|jd}|r5|dp8d}d}t|�dkr`|d}nyt|�}Wn:tk
r�}|jjdt|��|j d�nX|j
�jd�}|j�|j
d|j�}i} xT|D]L}
|j|
�}|r�jdd �\}}
t|
�}
|| |
<q��| j�}|j�yt|�}Wn:tk
r�}|jjdt|��|j d �nX|j
�jd�}|j�y&|jd
�d}|jd�}Wn.tk
r|jjd�|j d
�nXg}x)|D]!}
|jd| |
|
f�q$W||||+yt|d�}Wn:tk
r�}|jjdt|��|j d�nX|jdj|��|j�dS(Ni�iisInclude/token.hsLib/token.pysI/O error: %s
s
s:#define[ ][ ]*([A-Z0-9][A-Z0-9_]*)[ ][ ]*([0-9][0-9]*)is#--start constants--s#--end constants--s&target does not contain format markersis%s = %dtwi(tretsystargvtlentopentIOErrortstdouttwritetstrtexittreadtsplittclosetcompilet
IGNORECASEtmatchtgrouptinttkeystsorttstderrtindext
ValueErrortappendtjoin(RRtargst
inFileNametoutFileNametfpterrtlinestprogttokenstlineRtnametvalRtformattstarttend((s/sys/lib/python2.7/token.pytmainUsd
t__main__N(Ct__doc__RtNAMEtNUMBERtSTRINGtNEWLINEtINDENTtDEDENTtLPARtRPARtLSQBtRSQBtCOLONtCOMMAtSEMItPLUStMINUStSTARtSLASHtVBARtAMPERtLESStGREATERtEQUALtDOTtPERCENTt BACKQUOTEtLBRACEtRBRACEtEQEQUALtNOTEQUALt LESSEQUALtGREATEREQUALtTILDEt
CIRCUMFLEXt LEFTSHIFTt
RIGHTSHIFTt
DOUBLESTARt PLUSEQUALtMINEQUALt STAREQUALt
SLASHEQUALtPERCENTEQUALt
AMPEREQUALt VBAREQUALtCIRCUMFLEXEQUALtLEFTSHIFTEQUALtRIGHTSHIFTEQUALtDOUBLESTAREQUALtDOUBLESLASHtDOUBLESLASHEQUALtATtOPt
ERRORTOKENtN_TOKENSRttok_nametglobalstitemst_namet_valuettypeRRRR.t__name__(((s/sys/lib/python2.7/token.pyt<module>s�
6
|