ok

Mini Shell

Direktori : /proc/thread-self/root/usr/lib/python2.7/site-packages/ply/
Upload File :
Current File : //proc/thread-self/root/usr/lib/python2.7/site-packages/ply/yacc.pyc

�
ar�Yc@s�dZdZdZdZdZdZdZdZdZdZ	d	d
l
Z
d	d
lZd	d
lZd	d
l
Zejddkr�d�Zn	d�Zy
ejZWnek
r�ejZnXd
�Zdefd��YZdefd��YZdefd��YZd�Zd�Zdfd��YZdfd��YZdfd��YZd	d
l
Z
e
j d�Z!defd��YZ"defd ��YZ#d!efd"��YZ$d#�Z%d$efd%��YZ&d&efd'��YZ'd(efd)��YZ(d*efd+��YZ)d,�Z*d-�Z+d.efd/��YZ,d0e)fd1��YZ-d2�Z.d3�Z/d4efd5��YZ0dee1ee1ddded6e1e1e1d7�
Z2d
S(8s3.4s3.2is
parser.outtparsetabtLALRiii(i����NcCs|jS(N(t	func_code(tf((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR[scCs|jS(N(t__code__(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR^scCs5tjddkr"ddl}nddlj}|S(Niii����(tsystversion_infotlextply.lex(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pytload_ply_lexhst	PlyLoggercBs8eZd�Zd�ZeZd�Zd�ZeZRS(cCs
||_dS(N(R(tselfR((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__init__vscOs|jj||d�dS(Ns
(Rtwrite(Rtmsgtargstkwargs((s,/usr/lib/python2.7/site-packages/ply/yacc.pytdebugxscOs |jjd||d�dS(Ns	WARNING: s
(RR
(RRRR((s,/usr/lib/python2.7/site-packages/ply/yacc.pytwarning|scOs |jjd||d�dS(NsERROR: s
(RR
(RRRR((s,/usr/lib/python2.7/site-packages/ply/yacc.pyterrors(t__name__t
__module__RRtinfoRRtcritical(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR
us				t
NullLoggercBseZd�Zd�ZRS(cCs|S(N((Rtname((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__getattribute__�scOs|S(N((RRR((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__call__�s(RRRR(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�s	t	YaccErrorcBseZRS((RR(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�scCspt|�}d|kr't|�}nt|�tkrJ|t d}ndt|�jt|�|f}|S(Ns
s ...s<%s @ 0x%x> (%s)(treprtlentresultlimitttypeRtid(trtrepr_strtresult((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt
format_result�s"cCs^t|�}d|kr't|�}nt|�dkr=|Sdt|�jt|�fSdS(Ns
is<%s @ 0x%x>(RRR RR!(R"R#((s,/usr/lib/python2.7/site-packages/ply/yacc.pytformat_stack_entry�st
YaccSymbolcBseZd�Zd�ZRS(cCs|jS(N(R (R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__str__�scCs
t|�S(N(tstr(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__repr__�s(RRR(R*(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR'�s	tYaccProductioncBsneZdd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�Zd
�Z
RS(cCs(||_||_d|_d|_dS(N(tslicetstacktNonetlexertparser(RtsR-((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�s			cCs,|dkr|j|jS|j|jSdS(Ni(R,tvalueR-(Rtn((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__getitem__�scCs||j|_dS(N(R,R2(RR3tv((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__setitem__�scCs$g|j||!D]}|j^qS(N(R,R2(RtitjR1((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__getslice__�scCs
t|j�S(N(RR,(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__len__�scCst|j|dd�S(Ntlinenoi(tgetattrR,(RR3((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR;�scCs||j|_dS(N(R,R;(RR3R;((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt
set_lineno�scCs<t|j|dd�}t|j|d|�}||fS(NR;it	endlineno(R<R,(RR3t	startlinetendline((s,/usr/lib/python2.7/site-packages/ply/yacc.pytlinespan�scCst|j|dd�S(Ntlexposi(R<R,(RR3((s,/usr/lib/python2.7/site-packages/ply/yacc.pyRB�scCs<t|j|dd�}t|j|d|�}||fS(NRBit	endlexpos(R<R,(RR3tstartpostendpos((s,/usr/lib/python2.7/site-packages/ply/yacc.pytlexspan�scCs
t�dS(N(tSyntaxError(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�sN(RRR.RR4R6R9R:R;R=RARBRFR(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR+�s									tLRParsercBs�eZd�Zd�Zd�Zeedded�Zeeeded�Zeedded�Zeedded�Z	RS(cCs1|j|_|j|_|j|_||_dS(N(tlr_productionstproductionst	lr_actiontactiontlr_gototgotot	errorfunc(Rtlrtabterrorf((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�scCs
d|_dS(Ni(terrorok(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyterrok�scCsD|j2|j2t�}d|_|jj|�|jjd�dS(Ns$endi(t
statestacktsymstackR'R tappend(Rtsym((s,/usr/lib/python2.7/site-packages/ply/yacc.pytrestart�s		icCs�|strFt|t�r-ttj�}n|j|||||�S|re|j|||||�S|j|||||�SdS(N(	t	yaccdevelt
isinstancetintR
Rtstderrt
parsedebugtparseopttparseopt_notrack(RtinputR/Rttrackingt	tokenfunc((s,/usr/lib/python2.7/site-packages/ply/yacc.pytparsesc!	Cs!d}g}|j}|j}	|j}
td�}d}|jd�|sat�}
|
j}n||_||_|dk	r�|j	|�n|dkr�|j
}n|}g}||_g}||_||_
d}|jd�t�}d|_|j|�d}x|jd�|jd|�|sn|sD|�}n|j�}|snt�}d|_qnn|jdddjg|D]}|j^q�d	�t|�fj��|j}||j|�}|dk	r�|dkr:|j|�|}|jd
|�|j|�d}|r|d	8}qqn|dkr1|
|}|j}|j}t�}||_d|_|r�|jd|jdd
jg||D]}t|j�^q��d|�n|jd|jg|�|rD||d	}||d<|rq|d	}|j|_|j|_|d}t|d|j�|_t|d|j�|_n||_ yg||3||3|j!|�|jdt"|d��|j|�|	|d|}|j|�Wqt#k
r=|j|�|j�|j�|d}d|_|}t$}d|_%qXqq1|re|j|_|j|_n|g}||_ yW|j!|�|jdt"|d��|j|�|	|d|}|j|�Wqt#k
r*|j|�|j�|j�|d}d|_|}t$}d|_%qXqn|dkr�|d}t|dd�}|jdt"|��|jd�|Sn|dkr|j&dddjg|D]}|j^q�d	�t|�fj��|dks�|j%rt$}d|_%|}|jdkrd}n|j'r�|j(a(|a
|j)a)|r]t*|d�r]||_n|j'|�}b(b
b)|j%r|}d}qqq|r�t*|d�r�|j} nd} | r�t+j,j-d| |jf�qt+j,j-d|j�qt+j,j-d�dSnt$}t|�d	krT|jdkrTd}d}d}|2qn|jdkrgdS|jdkr�|d}|jdkr�d}qnt�}d|_t*|d�r�|j|_n||_|j|�|}q|j�|j�|d}qnt.d��qdS(NisPLY: PARSE DEBUG STARTs$endtsState  : %ssStack  : %ss%s . %st is Action : Shift and goto state %ss3Action : Reduce rule [%s] with %s and goto state %dt[t,t]i����R>RCsResult : %sRR2sDone   : Returning %ssPLY: PARSE DEBUG ENDsError  : %sR/R;s(yacc: Syntax error at line %d, token=%s
syacc: Syntax error, token=%ss yacc: Parse error in input. EOF
syacc: internal parser error!!!
(/R.RLRNRJR+RR	R/R0R`ttokenRTRUR-RVR'R RtpoptjoinR)tlstriptgetRRR2R&R;RBR<R>RCR,tcallableR%RGterror_countRRRRORSRXthasattrRR\R
tRuntimeError(!RR`R/RRaRbt	lookaheadtlookaheadstacktactionsRNtprodtpslicet
errorcountRt	get_tokenRTRUterrtokenRWtstatetxxtltypetttptpnametplent_vttargtt1R3R$ttokR;((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR]s^			
						
		

		@	


					O


		






	
		






	


	@
								 !
			
	


cCs�d}g}|j}|j}	|j}
td�}d}|sTt�}
|
j}n||_||_|dk	r�|j|�n|dkr�|j	}n|}g}||_
g}||_||_d}|j
d�t�}d|_|j
|�d}x�|sD|s|�}n|j�}|sDt�}d|_qDn|j}||j|�}|dk	r4|dkr�|j
|�|}|j
|�d}|r|d8}qqn|dkr|
|}|j}|j}t�}||_d|_|r8||d}||d<|r|d}|j|_|j|_|d}t|d|j�|_t|d|j�|_n||_yM||3||3|j|�|j
|�|	|d|}|j
|�Wqtk
r1|j
|�|j�|j�|d}d|_|}t}d|_qXqq|rY|j|_|j|_n|g}||_y=|j|�|j
|�|	|d|}|j
|�Wqtk
r|j
|�|j�|j�|d}d|_|}t}d|_qXqn|dkr4|d}t|dd�Sn|dkrv|dksU|jryt}d|_|}|jdkr�d}n|jr�|j a |a	|j!a!|r�t"|d	�r�||_n|j|�}b b	b!|jrv|}d}qqvq|rbt"|d
�r|j}nd}|rHt#j$j%d||jf�qvt#j$j%d|j�qt#j$j%d
�dSnt}t|�dkr�|jdkr�d}d}d}|2qn|jdkr�dS|jdkrR|d}|jdkrd}qnt�}d|_t"|d
�r3|j|_n||_|j
|�|}q|j�|j�|d}qnt&d��qdS(Nis$endii����R>RCRR2R/R;s(yacc: Syntax error at line %d, token=%s
syacc: Syntax error, token=%ss yacc: Parse error in input. EOF
syacc: internal parser error!!!
('R.RLRNRJR+R	R/R0R`RiRTRUR-RVR'R RjRmRRR2R;RBR<R>RCR,RnRGRoRRRORSRXRpRR\R
Rq(RR`R/RRaRbRrRsRtRNRuRvRwRRxRTRURyRWRzR|R}R~RR�R�R�R3R�R;((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR^Us>									
		
		


					


		






	
		






	

								 !
			
	


cCsd}g}|j}|j}	|j}
td�}d}|sTt�}
|
j}n||_||_|dk	r�|j|�n|dkr�|j	}n|}g}||_
g}||_||_d}|j
d�t�}d|_|j
|�d}x�|sD|s|�}n|j�}|sDt�}d|_qDn|j}||j|�}|dk	r�|dkr�|j
|�|}|j
|�d}|r|d8}qqn|dkr�|
|}|j}|j}t�}||_d|_|r�||d}||d<||_yM||3||3|j|�|j
|�|	|d|}|j
|�Wqtk
r�|j
|�|j�|j�|d}d|_|}t}d|_qXqq�|g}||_y=|j|�|j
|�|	|d|}|j
|�Wqtk
r~|j
|�|j�|j�|d}d|_|}t}d|_qXqn|dkr�|d}t|dd�Sn|dkr�|dks�|jr�t}d|_|}|jdkr�d}n|jru|ja|a	|ja|r?t|d�r?||_n|j|�}bb	b|jr�|}d}qq�q�|r�t|d�r�|j}nd}|r�t j!j"d	||jf�q�t j!j"d
|j�q�t j!j"d�dSnt}t|�dkr6|jdkr6d}d}d}|2qn|jdkrIdS|jdkr�|d}|jdkr}d}qnt�}d|_t|d�r�|j|_n||_|j
|�|}q|j�|j�|d}qnt#d��qdS(
Nis$endii����RR2R/R;s(yacc: Syntax error at line %d, token=%s
syacc: Syntax error, token=%ss yacc: Parse error in input. EOF
syacc: internal parser error!!!
($R.RLRNRJR+R	R/R0R`RiRTRUR-RVR'R RjRmRRR2R,RnRGRoRRR<RORSRXRpR;RR\R
Rq(RR`R/RRaRbRrRsRtRNRuRvRwRRxRTRURyRWRzR|R}R~RR�R�R3R�R;((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR_es*									
		
		


					
	






	
		






	

								 !
			
	


(
RRRRSRXR.RcR]R^R_(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyRH�s			�<�s^[a-zA-Z0-9_-]+$t
ProductioncBsbeZdZddddd�Zd�Zd�Zd�Zd�Zd�Z	d	�Z
d
�ZRS(
itrightRdc	Cs�||_t|�|_||_||_d|_||_||_||_	t
|j�|_
g|_x3|jD](}||jkrs|jj|�qsqsWg|_
d|_|jr�d|jdj|j�f|_nd|j|_dS(Ns%s -> %sRes
%s -> <empty>(RttupleRutnumbertfuncR.RntfiletlinetprecRtusymsRVtlr_itemstlr_nextRkR)(	RR�RRut
precedenceR�R�R�R1((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�s$											%cCs|jS(N(R)(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR(�scCsdt|�dS(NsProduction(t)(R)(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR*�scCs
t|j�S(N(RRu(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR:�scCsdS(Ni((R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt__nonzero__�scCs|j|S(N(Ru(Rtindex((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR4�scCs�|t|j�krdSt||�}yt|j|d|_Wn ttfk
rfg|_nXy|j|d|_Wntk
r�d|_nX|S(Ni(	RRuR.tLRItemt	Prodnamestlr_aftert
IndexErrortKeyErrort	lr_before(RR3R~((s,/usr/lib/python2.7/site-packages/ply/yacc.pytlr_item�s


cCs |jr||j|_ndS(N(R�Rn(Rtpdict((s,/usr/lib/python2.7/site-packages/ply/yacc.pytbind�s	(R�iN(RRtreducedR.RR(R*R:R�R4R�R�(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR��s						tMiniProductioncBs,eZd�Zd�Zd�Zd�ZRS(cCsC||_||_||_d|_||_||_||_dS(N(RRR�R.RnR�R�R)(RR)RRR�R�R�((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�s						cCs|jS(N(R)(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR(�scCsd|jS(NsMiniProduction(%s)(R)(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR*�scCs |jr||j|_ndS(N(R�Rn(RR�((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR��s	(RRRR(R*R�(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR��s			R�cBs#eZd�Zd�Zd�ZRS(cCs�|j|_t|j�|_|j|_||_i|_|jj|d�t|j�|_t|j�|_|j	|_	dS(Nt.(
RtlistRuR�tlr_indext
lookaheadstinsertR�RR�(RR~R3((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�s		cCs<|jr+d|jdj|j�f}n
d|j}|S(Ns%s -> %sRes
%s -> <empty>(RuRRk(RR1((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR(s	"
cCsdt|�dS(NsLRItem(R�(R)(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR*s(RRRR(R*(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR��s		cCsIt|�d}x2|dkrD|||kr7||S|d8}qWdS(Nii(RR.(tsymbolst	terminalsR7((s,/usr/lib/python2.7/site-packages/ply/yacc.pytrightmost_terminalstGrammarErrorcBseZRS((RR(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR� stGrammarcBs�eZd�Zd�Zd�Zd�Zdddd�Zdd�Zd�Z	d	�Z
d
�Zd�Zd�Z
d
�Zd�Zd�Zdd�Zd�ZRS(cCs�dg|_i|_i|_i|_x|D]}g|j|<q.Wg|jd<i|_i|_i|_i|_i|_	d|_
dS(NR(R.tProductionsR�tProdmapt	TerminalstNonterminalstFirsttFollowt
PrecedencetUsedPrecedencetStart(RR�tterm((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR#s			

					cCs
t|j�S(N(RR�(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR:GscCs|j|S(N(R�(RR�((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR4JscCsr|jdgkstd��||jkr@td|��n|dkr[td��n||f|j|<dS(Ns2Must call set_precedence() before add_production()s.Precedence already specified for terminal '%s'tleftR�tnonassocs:Associativity must be one of 'left','right', or 'nonassoc'(R�srightR�(R�R.tAssertionErrorR�R�(RR�tassoctlevel((s,/usr/lib/python2.7/site-packages/ply/yacc.pytset_precedenceUsRdicCs�||jkr+td|||f��n|dkrStd|||f��ntj|�s~td|||f��nx�t|�D]�\}}|ddkr+ymt|�}t|�dkr�td||||f��n||jkrg|j|<n|||<w�Wq+tk
r'q+Xntj|�r�|d	kr�td
||||f��q�q�Wd	|kr |dd	kr�td||f��n|d
d	kr�td||f��n|d}	|jj	|	d�}
|
s	td|||	f��n
d|j|	<|d
3n't||j�}	|jj	|	d�}
d||f}||j
kr�|j
|}td|||fd|j|jf��nt|j�}
||jkr�g|j|<nxg|D]_}||jkr|j|j|
�q�||jkr#g|j|<n|j|j|
�q�Wt|
|||
|||�}|jj|�||j
|<y|j|j|�Wn!tk
r�|g|j|<nXdS(Ns9%s:%d: Illegal rule name '%s'. Already defined as a tokenRs7%s:%d: Illegal rule name '%s'. error is a reserved words%s:%d: Illegal rule name '%s'is'"isC%s:%d: Literal token %s in rule '%s' may only be a single characters%precs%%s:%d: Illegal name '%s' in rule '%s'i����s+%s:%d: Syntax error. Nothing follows %%preci����sH%s:%d: Syntax error. %%prec can only appear at the end of a grammar rules1%s:%d: Nothing known about the precedence of '%s'R�s%s -> %ss%s:%d: Duplicate rule %s. sPrevious definition at %s:%d(srighti(R�R�t_is_identifiertmatcht	enumeratetevalRRGR�RmR.R�R�R�R�R�R�R�RVR�R�R�(RtprodnametsymsR�R�R�R3R1tctprecnametprodprectmaptmtpnumberR}R~((s,/usr/lib/python2.7/site-packages/ply/yacc.pytadd_productionnsn

#






cCsx|s|jdj}n||jkr;td|��ntdd|g�|jd<|j|jd�||_dS(Nisstart symbol %s undefinedisS'(R�RR�R�R�RVR�(Rtstart((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt	set_start�scs����fd��i�x.t�j�t�j�D]}d�|<q8W��jdjd�gt�j�D]}�|st|^qtS(NcsZ�|rdSd�|<x;�jj|g�D]$}x|jD]}�|�q>Wq.WdS(Ni(R�RmRu(R1R~R"(tmark_reachable_fromt	reachableR(s,/usr/lib/python2.7/site-packages/ply/yacc.pyR��s

i(R�R�R�R�Ru(RR1((R�R�Rs,/usr/lib/python2.7/site-packages/ply/yacc.pytfind_unreachable�s	#cCsRi}x|jD]}d||<qWd|d<x|jD]}d||<q8Wx�d}x�|jj�D]r\}}xc|D][}x+|jD]}||s�d}Pq�q�Wd}|rx||s�d||<d}nPqxqxWqeW|sOPqOqOg}	x]|j�D]O\}}
|
s�||jkr:||jkr:|dkr:qJ|	j|�q�q�W|	S(Nis$endiR(R�R�R�titemsRuRV(Rt
terminatesR}R3tsome_changetplR~R1tp_terminatestinfiniteR�((s,/usr/lib/python2.7/site-packages/ply/yacc.pytinfinite_cycles�s:




	*cCs~g}xq|jD]f}|s"qnxQ|jD]F}||jkr,||jkr,|dkr,|j||f�q,q,WqW|S(NR(R�RuR�R�RV(RR$R~R1((s,/usr/lib/python2.7/site-packages/ply/yacc.pytundefined_symbols/s*cCsMg}x@|jj�D]/\}}|dkr|r|j|�qqW|S(NR(R�R�RV(Rt
unused_tokR1R5((s,/usr/lib/python2.7/site-packages/ply/yacc.pytunused_terminals?s
cCsQg}xD|jj�D]3\}}|s|j|d}|j|�qqW|S(Ni(R�R�R�RV(Rtunused_prodR1R5R~((s,/usr/lib/python2.7/site-packages/ply/yacc.pytunused_rulesNscCs]g}xP|jD]E}||jkp1||jks|j||j|df�qqW|S(Ni(R�R�R�RV(Rtunusedttermname((s,/usr/lib/python2.7/site-packages/ply/yacc.pytunused_precedence_s
%cCs�g}xt|D]_}d}xF|j|D]7}|dkrBd}q'||kr'|j|�q'q'W|rkq
Pq
W|jd�|S(Nis<empty>i(R�RV(RtbetaR$txtx_produces_emptyR((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt_firstos
	
cCs�|jr|jSx!|jD]}|g|j|<qWdg|jd<x|jD]}g|j|<qNWx�d}xv|jD]k}xb|j|D]S}xJ|j|j�D]6}||j|kr�|j|j|�d}q�q�Wq�WqxW|shPqhqh|jS(Ns$endii(R�R�R�R�R�RuRV(RR}R3R�R~R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt
compute_first�s$	c
Cs�|jr|jS|js&|j�nx|jD]}g|j|<q0W|s`|jdj}ndg|j|<xYd}xC|jdD]4}x+tt|j��D]}|j|}||jkr�|j	|j|d�}d}x_|D]W}	|	dkr.|	|j|kr.|j|j
|	�d}n|	dkr�d}q�q�W|sf|t|j�dkr�xK|j|jD]6}	|	|j|krw|j|j
|	�d}qwqwWq�q�q�Wq�W|ssPqsqs|jS(Nis$endis<empty>(R�R�R�R�R�RtrangeRRuR�RV(
RR�tktdidaddR~R7tBtfstthasemptyR((s,/usr/lib/python2.7/site-packages/ply/yacc.pytcompute_follow�s>		


	
cCs
x|jD]�}|}d}g}x�|t|�kr@d}n�t||�}y|j|j|d|_Wn ttfk
r�g|_nXy|j|d|_	Wntk
r�d|_	nX||_
|s�Pn|j|�|}|d7}q%||_q
WdS(Nii(
R�RR.R�R�RuR�R�R�R�R�RVR�(RR~tlastlriR7R�tlri((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt
build_lritems�s.	


	

N(RRRR:R4R�R.R�R�R�R�R�R�R�R�R�R�R�R�(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�"s 	$			S		A					"	%;tVersionErrorcBseZRS((RR(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�stLRTablecBs,eZd�Zd�Zd�Zd�ZRS(cCs(d|_d|_d|_d|_dS(N(R.RKRMRIt	lr_method(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyRs			cBs�e|ej�r|}nGejddkr=d|dUn%i}d|||fdU|d}|jekr�ed��n|j|_	|j
|_g|_x'|j
D]}|jje|��q�W|j|_|jS(Niisimport %s as parsetabRs&yacc table file version is out of date(RZttypest
ModuleTypeRRt_tabversiont__tabversion__R�t
_lr_actionRKt_lr_gotoRMRIt_lr_productionsRVR�t
_lr_methodR�t
_lr_signature(RtmoduleRtenvR~((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt
read_tables 	
	cCs�yddl}Wntk
r/ddl}nXt|d�}|j|�}|tkritd��n|j|�|_|j|�}|j|�|_|j|�|_	|j|�}g|_
x$|D]}|j
jt|��q�W|j
�|S(Ni����trbs&yacc table file version is out of date(tcPickletImportErrortpickletopentloadR�R�R�RKRMRIRVR�tclose(RtfilenameR�tin_ft
tabversiont	signatureRJR~((s,/usr/lib/python2.7/site-packages/ply/yacc.pytread_pickle5s$
	

cCs%x|jD]}|j|�q
WdS(N(RIR�(RR�R~((s,/usr/lib/python2.7/site-packages/ply/yacc.pytbind_callablesNs(RRRR�RR(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�s			c	Csqi}x|D]}d||<q
Wg}i}x=|D]5}||dkr4t|||||||�q4q4W|S(Ni(ttraverse(tXtRtFPtNR�R-tF((s,/usr/lib/python2.7/site-packages/ply/yacc.pytdigraphjs

#c	Cs]|j|�t|�}|||<||�||<||�}x�|D]�}	||	dkr{t|	||||||�nt||||	�||<x>|j|	g�D]*}
|
||kr�||j|
�q�q�WqFW|||krYt||d<||||d<|j�}x?||krUt||d<||||d<|j�}qWndS(Nii����(RVRRtminRmtMAXINTRj(R�R	R-R
RRRtdtreltytatelement((s,/usr/lib/python2.7/site-packages/ply/yacc.pyRts(


t	LALRErrorcBseZRS((RR(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�stLRGeneratedTablecBs�eZddd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zddd�Zdd�ZRS(RcCs�|dkrtd|��n||_||_|sCt�}n||_i|_i|_|j|_i|_	i|_
d|_d|_d|_
g|_g|_g|_|jj�|jj�|jj�|j�dS(NtSLRRsUnsupported method %si(RR(RtgrammarR�RtlogRKRMR�RIt
lr_goto_cachetlr0_cidhasht
_add_counttsr_conflicttrr_conflictt	conflictstsr_conflictstrr_conflictsR�R�R�tlr_parse_table(RRtmethodR((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�s,													


cCs�|jd7_|}d}xx|r�d}xe|D]]}xT|jD]I}t|dd�|jkriqBn|j|j�|j|_d}qBWq2WqW|S(Niit	lr0_added(RR�R<RVR�R"(RtItJR�R8R�((s,/usr/lib/python2.7/site-packages/ply/yacc.pytlr0_closure�s	
c	CsB|jjt|�|fd�}|r+|S|jj|d�}|s\i}||j|<ng}xy|D]q}|j}|ri|j|kri|jt|�d�}|s�i}||t|�<n|j|�|}qiqiW|jdd�}|s%|r|j|�}||d<q%||d<n||jt|�|f<|S(Ns$end(RRmR!R.R�R�RVR%(	RR#R�tgR1tgsR~R3ts1((s,/usr/lib/python2.7/site-packages/ply/yacc.pytlr0_goto�s2!
	



c	Cs2|j|jjdjg�g}d}x+|D]#}||jt|�<|d7}q/Wd}x�|t|�kr-||}|d7}i}x,|D]$}x|jD]}d||<q�Wq�Wxm|D]e}|j	||�}|s�q�nt|�|jkrq�nt|�|jt|�<|j
|�q�Wq_W|S(Nii(R%RR�R�RR!RR�R.R)RV(	RtCR7R#tasymstiiR1R�R&((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt	lr0_items�s,"




cCs�i}d}x�xk|jjdD]Y}|jdkrHd||j<q nx.|jD]}||krRPqRqRWd||j<q Wt|�|kr�Pnt|�}q|S(Nii(RR�RRRu(Rtnullabletnum_nullableR~R}((s,/usr/lib/python2.7/site-packages/ply/yacc.pytcompute_nullable_nonterminals-s
cCs�g}x�tt|��D]�}xz||D]n}|j|jdkr*||j|jdf}|d|jjkr�||kr�|j|�q�q�q*q*W|d}qW|S(Ni(R�RR�RuRR�RV(RR*ttransRzR~R}((s,/usr/lib/python2.7/site-packages/ply/yacc.pytfind_nonterminal_transitionsHscCs�i}|\}}g}|j|||�}xl|D]d}	|	j|	jdkr5|	j|	jd}
|
|jjkr�|
|kr�|j|
�q�q�q5q5W|dkr�||jjdjdkr�|jd�n|S(Niis$end(R)R�RRuRR�RVR�(RR*R1R.tdr_setRzR	ttermsR&R~R((s,/usr/lib/python2.7/site-packages/ply/yacc.pytdr_relation\s
)cCs�g}|\}}|j|||�}|jjt|�d�}x]|D]U}	|	j|	jdkrJ|	j|	jd}
|
|kr�|j||
f�q�qJqJW|S(Ni����i(R)RRmR!R�RRuRV(RR*R1temptyRRzR	R&R8R~R((s,/usr/lib/python2.7/site-packages/ply/yacc.pytreads_relationts
cCsli}i}i}x|D]}d||<qWx2|D]*\}}	g}
g}x�||D]�}|j|	krrqWn|j}
|}x�|
|jdkrh|
d}
|j|
}||f|kr4|
d}xg||jkr|j||jjkr�Pn|j||krPn|d}q�W|j||f�n|j|||�}|jj	t
|�d�}q�Wx�||D]�}|j|jkr�qtn|j|jkr�qtnd}xR||jkr�|j||j|dkr�Pn|d}q�W|
j||f�qtWqWWx>|D]6}||kr3g||<n||j||	f�qW|
|||	f<q4W||fS(Nii����i(RR�RRuRR�RVR)RRmR!(RR*R1R.tlookdicttincludedicttdtransR}RzR	tlookbtincludesR~R�R8tliR&R"R7((s,/usr/lib/python2.7/site-packages/ply/yacc.pytcompute_lookback_includes�sX
	




cs@���fd�}���fd�}t|||�}|S(Ncs�j�|��S(N(R5(R�(R*R.R(s,/usr/lib/python2.7/site-packages/ply/yacc.pyt<lambda>�scs�j�|��S(N(R7(R�(R*R.R(s,/usr/lib/python2.7/site-packages/ply/yacc.pyR?�s(R(RR*tntransR.RRR
((R*R.Rs,/usr/lib/python2.7/site-packages/ply/yacc.pytcompute_read_sets�scs4�fd�}�fd�}t|||�}|S(Ncs�|S(N((R�(treadsets(s,/usr/lib/python2.7/site-packages/ply/yacc.pyR?	scs�j|g�S(N(Rm(R�(tinclsets(s,/usr/lib/python2.7/site-packages/ply/yacc.pyR?	s(R(RR@RBRCRRR
((RCRBs,/usr/lib/python2.7/site-packages/ply/yacc.pytcompute_follow_sets�sc	Cs�x�|j�D]�\}}x�|D]x\}}||jkrKg|j|<n|j|g�}x8|D]0}||j|krd|j|j|�qdqdWq Wq
WdS(N(R�R�RmRV(	Rt	lookbackst	followsetR1tlbRzR~RR((s,/usr/lib/python2.7/site-packages/ply/yacc.pytadd_lookaheads	s
cCst|j�}|j|�}|j|||�}|j|||�\}}|j|||�}|j||�dS(N(R0R2RAR>RDRH(RR*R.R1RBtlookdtincludedt
followsets((s,/usr/lib/python2.7/site-packages/ply/yacc.pytadd_lalr_lookaheads"	sc$
Cs!|jj}|jj}|j}|j}|j}i}|jd|j�|j�}|jdkrw|j	|�nd}x�|D]�}	g}
i}i}i}
|jd�|jd|�|jd�x*|	D]"}|jd|j
t|��q�W|jd�x,|	D]$}|j|j
dkr|jdkrOd|d	<||d	<q1|jdkrn|j|}n|jj|j}x�|D]�}|
j||d
|j
|ff�|j|d�}|dk	r�|dkr�|||j
j\}}|j|d�\}}||ks1||kr�|dkr�|j
||<|||<|r�|r�|jd
|�|jj||df�n||j
jd7_q�||kr�|dkr�d||<q�|s�|jd|�|jj||df�q�q|dkr�||}||j
}|j|jkr�|j
||<|||<||}}||j
jd7_||j
jd8_n
||}}|jj|||f�|jd|||j
||�qtd|��q�|j
||<|||<||j
jd7_q�Wq
|j
}|j|d}||jjkr
|j|	|�}|jjt|�d�}|dkr1|
j||d|f�|j|d�}|dk	r|dkr�||krtd|��qq+|dkr|||j
j\}}|j|d�\}}||ks?||kr�|dkr�|||j
jd8_|||<|||<|s|jd|�|jj||df�qq||kr�|dkr�d||<q|r|r|jd
|�|jj||df�qq+td|��q.|||<|||<q1q
q
Wi}x\|
D]T\}}}||krB|||kr�|jd||�d|||f<q�qBqBW|jd�d}xw|
D]o\}}}||kr�|||k	r#||f|kr |jd||�d}d|||f<q q#q�q�W|r=|jd�ni} xA|	D]9}!x0|!j D]%}"|"|jj!krZd| |"<qZqZWqJWxg| D]_}#|j|	|#�}|jjt|�d�}|dkr�||
|#<|jd|#|�q�q�W|||<|||<|
||<|d7}q�WdS(NsParsing method: %sRiRdsstate %ds    (%d) %sisS's$endsreduce using rule %d (%s)R�R�s3  ! shift/reduce conflict for %s resolved as reducetreduceR�s2  ! shift/reduce conflict for %s resolved as shifttshifts=  ! reduce/reduce conflict for %s resolved using rule %d (%s)sUnknown conflict in state %di����sshift and go to state %ds Shift/shift conflict in state %ds    %-15s %ss  ! %-15s [ %s ]s"    %-30s shift and go to state %d(srighti(srighti("RR�R�RMRKRRR�R-RLR�R)RR�RR�R�RVRmR.R�RR�R�RRRuR�R)RR!RR�R�($RR�R�RNRLRtactionpR*tstR#tactlistt	st_actiont
st_actionptst_gotoR~tlaheadsRR"tsprectsleveltrprectrleveltoldptpptchosenptrejectpR7R&R8t	_actprintR�tnot_usedtnkeysR,R1R3((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR :	s�			



 




#$





$
	$










Rdc	Cs�|jd�d}tjj||�d}y>t|d�}|jd|t|j|f�d}|r�i}x�|jj	�D]y\}	}
xj|
j	�D]\\}}|j
|�}
|
s�ggf}
|
||<n|
dj|	�|
dj|�q�Wq�W|jd�x�|j	�D]�\}}|jd	|�x#|dD]}
|jd
|
�q?W|jd�x#|dD]}
|jd
|
�qrW|jd�qW|jd
�|jd�n\|jd�x?|jj	�D].\}}|jd|d|d|f�q�W|jd
�|rni}x�|jj	�D]y\}	}
xj|
j	�D]\\}}|j
|�}
|
s�ggf}
|
||<n|
dj|	�|
dj|�qLWq3W|jd�x�|j	�D]�\}}|jd	|�x#|dD]}
|jd
|
�q�W|jd�x#|dD]}
|jd
|
�q%W|jd�q�W|jd
�|jd�n\|jd�x?|jj	�D].\}}|jd|d|d|f�q�W|jd
�|jd�xx|j
D]m}|jr(|jd|j|j|j|j|j|jf�q�|jdt|�|j|jf�q�W|jd�|j�WnPtk
r�tj�d}tjjd|�tjjt|�d�dSXdS(NR�i����s.pytwsu
# %s
# This file is automatically generated. Do not edit.
_tabversion = %r

_lr_method = %r

_lr_signature = %r
    iis
_lr_action_items = {s%r:([s%r,s],[s]),s}
s�
_lr_action = { }
for _k, _v in _lr_action_items.items():
   for _x,_y in zip(_v[0],_v[1]):
      if not _x in _lr_action:  _lr_action[_x] = { }
      _lr_action[_x][_k] = _y
del _lr_action_items
s
_lr_action = { s(%r,%r):%r,s
_lr_goto_items = {s�
_lr_goto = { }
for _k, _v in _lr_goto_items.items():
   for _x,_y in zip(_v[0],_v[1]):
       if not _x in _lr_goto: _lr_goto[_x] = { }
       _lr_goto[_x][_k] = _y
del _lr_goto_items
s
_lr_goto = { s_lr_productions = [
s  (%r,%r,%d,%r,%r,%d),
s  (%r,%r,%d,None,None,None),
s]
sUnable to create '%s'
s
(tsplittostpathRkR�R
R�R�RKR�RmRVRMRIR�R)RRR�R�R�tIOErrorRtexc_infoR\(Rt
modulenamet	outputdirRtbasemodulenameR�RtsmallerR�R1tndRR5R7R�R~te((s,/usr/lib/python2.7/site-packages/ply/yacc.pytwrite_table�	s�





&






&

	8*

cCsJyddl}Wntk
r/ddl}nXt|d�}|jt|t�|j|j|t�|j||t�|j|j|t�|j|j	|t�g}xy|j
D]n}|jr�|j|j
|j|j|j|j|jf�q�|jt
|�|j|jdddf�q�W|j||t�|j�dS(Ni����twb(R�R�R�R�tdumpR�tpickle_protocolR�RKRMRIR�RVR)RRR�R�R.R�(RR�RR�toutftoutpR~((s,/usr/lib/python2.7/site-packages/ply/yacc.pytpickle_tablej
s"
	4/N(RRR.RR%R)R-R0R2R5R7R>RARDRHRLR RmRs(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�s %		"	9				+	J					�ycCs�y
t�Wn�tk
r�tj�\}}}|j}x#|dkr]|j}|d8}q;W|jj�}|j|jkr�|j|j�n|SXdS(Nii(	RqRRfttb_frametf_backt	f_globalstcopytf_localstupdate(tlevelsRltbR}Rtldict((s,/usr/lib/python2.7/site-packages/ply/yacc.pytget_caller_module_dict�
s

		cCsOg}|j�}d}|}x*|D]"}|d7}|j�}|sMq%ny�|ddkr�|std||f��n|}	|d}
nU|d}	|	}|d}
|d}|dkr�|dkr�td||f��n|j|||	|
f�Wq%tk
r�q%tk
rFtd	|||j�f��q%Xq%W|S(
Niit|s%s:%d: Misplaced '|'it:s::=s!%s:%d: Syntax error. Expected ':'s %s:%d: Syntax error in rule '%s'(t
splitlinesR.RbRGRVt	Exceptiontstrip(tdocR�R�RtpstringstlastptdlinetpsR~R�R�tassign((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt
parse_grammar�
s6







't
ParserReflectcBs�eZdd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�Zd
�Z
d�Zd�Zd
�Zd�ZRS(cCsm||_d|_d|_d|_i|_g|_d|_|dkr`tt	j
�|_n	||_dS(Ni(R�R.R�t
error_functtokenstfilesRRR
RR\R(RR�R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�
s							cCs6|j�|j�|j�|j�|j�dS(N(t	get_starttget_error_funct
get_tokenstget_precedencetget_pfunctions(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pytget_all�
s




cCsC|j�|j�|j�|j�|j�|j�|jS(N(tvalidate_starttvalidate_error_functvalidate_tokenstvalidate_precedencetvalidate_pfunctionstvalidate_filesR(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pytvalidate_all�
s





cCs�g}y�|jr%|j|j�n|jrf|jdjg|jD]}dj|�^qD��n|jr�|jdj|j��nx/|jD]$}|dr�|j|d�q�q�WWnttfk
r�nXdj|�S(NRdRei(R�RVR�RkR�tpfuncst	TypeErrort
ValueError(RtpartsR~R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�
s		8	
c
Cs$tjd�}x|jj�D]�}tjj|�\}}|dkrMdSy&t|�}|j�}|j	�Wnt
k
r�qnXi}x�t|�D]{\}}	|d7}|j|	�}
|
r�|
j
d�}|j|�}|s�|||<q|jjd||||�q�q�WqWdS(Ns\s*def\s+(p_[a-zA-Z_0-9]*)\(s.pyis;%s:%d: Function %s redefined. Previously defined on line %d(tretcompileR�tkeysRcRdtsplitextR�t	readlinesR�ReR�R�tgroupRmRR(
RtfreR�tbasetextRtlinest	counthashtlinentlR�Rtprev((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�s*


cCs|jjd�|_dS(NR�(R�RmR�(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�#scCs;|jdk	r7t|jt�s7|jjd�q7ndS(Ns'start' must be a string(R�R.RZR)RR(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�'scCs|jjd�|_dS(Ntp_error(R�RmR�(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�-scCs�|jr�t|jtj�r'd}n;t|jtj�rEd}n|jjd�d|_dSt|j�j}t|j�j	}d|j
|<t|j�jd|kr�|jjd||�d|_q�ndS(Niis2'p_error' defined, but is not a function or methods$%s:%d: p_error() requires 1 argument(R�RZR�tFunctionTypet
MethodTypeRRRtco_firstlinenotco_filenameR�tco_argcount(Rtismethodtelinetefile((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�1s				
cCs�|jjdd�}|s8|jjd�d|_dSt|ttf�sj|jjd�d|_dS|s�|jjd�d|_dS||_dS(NR�sNo token list is definedistokens must be a list or tuplestokens is empty(	R�RmR.RRRZR�R�R�(RR�((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�Es			cCsvd|jkr,|jjd�d|_dSi}x=|jD]2}||krd|jjd|�nd||<q<WdS(NRs.Illegal token name 'error'. Is a reserved wordisToken '%s' multiply defined(R�RRR(RR�R3((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�Ys	cCs|jjdd�|_dS(NR�(R�RmR.R�(R((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�gscCsig}|jr\t|jttf�sD|jjd�d|_dSxt|j�D]\}}t|ttf�s�|jjd�d|_dSt|�dkr�|jjd|�d|_dS|d}t|t�s�|jjd�d|_dSxX|dD]L}t|t�s7|jjd�d|_dS|j	|||df�qWqTWn||_
dS(	Ns"precedence must be a list or tupleisBad precedence tableis?Malformed precedence entry %s. Must be (assoc, term, ..., term)is)precedence associativity must be a strings precedence items must be strings(R�RZR�R�RRR�RR)RVtpreclist(RR�R�R~R�R�((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR�ks6				
		%cCs�g}x�|jj�D]�\}}|d dkr8qn|dkrJqnt|tjtjf�rt|�j}t|�j}|j	||||j
f�qqW|j�||_dS(Nitp_R�(
R�R�RZR�R�R�RR�R�RVt__doc__tsortR�(Rtp_functionsRtitemR�R�((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR��s#
c
Csg}t|j�dkr8|jjd�d|_dSxw|jD]l\}}}}|j|}t|tj�r|d}nd}t|�j	|kr�|jjd|||j
�d|_qBt|�j	|kr�|jjd|||j
�d|_qB|js$|jjd|||j
�qBy:t
|||�}x!|D]}	|j||	f�q@WWn@tk
r�tj�d}
|jjt|
��d|_nXd|j|<qBWxX|jj�D]G\}}|dd!dkrt|tjtjf�rq�n|dd!d	krq�n|dd!dkrP|d
krP|jjd|�nt|tj�rwt|�j	dks�t|tj�r�t|�j	dkr�yT|jjd�}|dd
kr�|jjdt|�jt|�j|�nWq	tk
rq	Xq�q�W||_dS(Nis+no rules of the form p_rulename are definediis'%s:%d: Rule '%s' has too many argumentss%%s:%d: Rule '%s' requires an argumentsC%s:%d: No documentation string specified in function '%s' (ignored)R�tt_R�s'%s' not defined as a functionReRs;%s:%d: Possible grammar rule '%s' defined without p_ prefix(RR�RRR�RZR�R�RR�RR�RR�RVRGRRfR)R�R�R�RbR�R�R�R(
RRR�R�RR�R�treqargstparsed_gR&RlR3R5((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR��sX	
		


.''&
N(RRR.RR�R�RR�R�R�R�R�R�R�R�R�R�R�(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyR��
s		
											Rdc
:
CsQ
|rd}n|dkr-ttj�}n|rpgt|�D]}
|
t||
�f^q@}t|�}ntd�}t|d|�}|j	�|j
r�td��n|j�}y�t
�}|r�|j|�}n|j|�}|s||krqy3|j|j�t||j�}|ja|SWqqtk
rmtj�d}|jdt|��qqXnWn@tk
r�tj�}|jt|��ntk
r�nX|
dkr�|r�tt|d��}
q�t�}
n|
jdt�d}|j�rtd��n|js5|jd	�nt |j!�}xk|j"D]`\}}}y|j#|||�WqNt$k
r�tj�d}|jd
t|��qNXqNWx�|j%D]{\}}|\}}}} y|j&|| |||�Wq�t$k
r6tj�d}|j
d
t|��d}q�Xq�Wy0|dkr]|j'|j(�n
|j'|�Wn:t$k
r�tj�d}|j
t|��d}nX|r�td��n|j)�}!x6|!D].\}"}#|j
d|#j*|#j+|"�d}q�W|j,�}$|$ro|
jd�|
jd
�|
jd�x1|$D]&}|jd|�|
jd|�qBWn|r�|
jd�|
jd�|
jd�x3t-|j.�D]\}%}&|
jd|%|&�q�Wn|j/�}'x-|'D]%}#|jd|#j*|#j+|#j0�q�Wt1|$�dkr0|jd�nt1|$�dkr[|jdt1|$��nt1|'�dkr}|jd�nt1|'�dkr�|jdt1|'��n|r�|
jd�|
jd�|
jd�t2|j3�}(|(j4�xJ|(D]B}|
jd|dj5g|j3|D]})t|)�^q��q�W|
jd�|
jd�|
jd�t2|j6�}*|*j4�xJ|*D]B}+|
jd|+dj5g|j6|+D]})t|)�^q���q�W|
jd�n|rA|j7�},x|,D]}-|jd|-�q�W|j8�}.x'|.D]}/|j
d|/�d}qWn|j9�}0x-|0D]%\}}|j
d||�d}qTW|r�td��n|r�|j:d|�nt;|||
�}|rZt1|j<�}1|1dkr�|jd�n|1dkr
|jd |1�nt1|j=�}2|2dkr8|jd!�qZ|2dkrZ|jd"|2�qZn|r�	|j<sr|j=r�	|
jd�|
jd#�|
jd�x0|j<D]%\}3}4}5|
jd$|4|3|5�q�Wi}6x�|j=D]�\}3}7}8|3t>|7�t>|8�f|6kr	q�n|
jd%|3|7�|
jd&|8|3�|jd%|3|7�|jd&|8|3�d|6|3t>|7�t>|8�f<q�Wg}9xc|j=D]U\}3}7}8|8j?r�	|8|9kr�	|
jd'|8�|jd'|8�|9j@|8�q�	q�	Wn|r	
|jA||	|�n|r"
|jB||�n|j|j�t||j�}|ja|S((NiiRsUnable to build parseris.There was a problem loading the table file: %sRas5Created by PLY version %s (http://www.dabeaz.com/ply)s no p_error() function is defineds%ss=%s:%d: Symbol '%s' used, but not defined as a token or a ruleRdsUnused terminals:s Token '%s' defined, but not useds    %sR�sRule %-5d %ss&%s:%d: Rule '%s' defined, but not usedsThere is 1 unused tokensThere are %d unused tokenssThere is 1 unused rulesThere are %d unused ruless'Terminals, with rules where they appears
%-20s : %sRes*Nonterminals, with rules where they appearsSymbol '%s' is unreachables+Infinite recursion detected for symbol '%s's4Precedence rule '%s' defined for unknown symbol '%s'sGenerating %s tabless1 shift/reduce conflicts%d shift/reduce conflictss1 reduce/reduce conflicts%d reduce/reduce conflictss
Conflicts:s7shift/reduce conflict for %s in state %d resolved as %ss;reduce/reduce conflict in state %d resolved using rule (%s)srejected rule (%s) in state %dsRule (%s) is never reduced(CR.R
RR\tdirR<tdictR}R�R�RRRR�RR�RR�RHR�RcR�RfRRR�R)R�RRt__version__R�R�R�R�R�R�RR�R�R�R�R�R�R�R�R�R�RRR�R�R�RkR�R�R�R�RRRRR!R�RVRmRs(:R!RR�t	tabmoduleR�tcheck_recursiontoptimizetwrite_tablest	debugfileRhtdebuglogterrorlogt
picklefileR�t_itemsR�tpinfoRtlrtread_signatureR0RlterrorsRR�R�R�tfuncnametgramR�R�R�R�R�RWRuR�R3R~R�R4R1tnontermstnontermtunreachabletuR�tinftunused_prectnum_srtnum_rrRzR�t
resolutiontalready_reportedtruletrejectedtwarned_never((s,/usr/lib/python2.7/site-packages/ply/yacc.pytyacc�sR	.
			
!

	












#




@




@






!#	(3R�R�t	yaccdebugt
debug_filet
tab_modulet
default_lrRoRYRRpR�R�Rtos.pathRcRRtmaxintR
tAttributeErrortmaxsizeR	tobjectR
RR�RR%R&R'R+RHR�R�R�R�R�R�R�R�R�R�RRRRR}R�R�R.R�(((s,/usr/lib/python2.7/site-packages/ply/yacc.pyt<module>>sj0	


	
	
	
0���wI,	��T	
		���		(�

Zerion Mini Shell 1.0