Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/site-packages/pycparser/ply/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/site-packages/pycparser/ply/__pycache__/ygen.cpython-38.pyc
U

N��g��@s:ddlZddlZdd�Zdd�Zdd�Zedkr6e�dS)	�NcCsdt|�}d|}d|}|D]\}}|���|�rq8q|D]\}}|���|�r<qXq<|d|fS)Nz
#--! %s-startz#--! %s-end�)�	enumerate�strip�
startswith�endswith)�lines�tagZsrclinesZ	start_tagZend_tag�start_index�lineZ	end_index�r�?/opt/cppython/lib/python3.8/site-packages/pycparser/ply/ygen.py�get_source_range
sr
cCsBg}d}d|}|D](}|���|�r.|}q|r|�|�q|S)NTz#--! %s)rr�append)rrZfiltered_lines�include�tag_textr
rrr�filter_sectionsrc	Cs�tj�t�}t�tj�|d�tj�|d��ttj�|d�d��}|��}W5QRXt	|d�\}}t	|d�\}}t	|d�\}}|||�}	t
|	d�}
t
|
d�}||||�<|
|||�<d	d
�|D�}ttj�|d�d��}|�|�W5QRXtd�dS)
Nzyacc.pyzyacc.py.bak�rZ
parsedebugZparseoptzparseopt-notrack�DEBUGZTRACKINGcSsg|]}|��d�qS)�
)�rstrip)�.0r
rrr�
<listcomp>>szmain.<locals>.<listcomp>�wzUpdated yacc.py)
�os�path�dirname�__file__�shutil�copy2�join�open�	readlinesr
r�
writelines�print)r�frZparse_startZ	parse_endZparseopt_startZparseopt_endZparseopt_notrack_startZparseopt_notrack_endZ
orig_linesZparseopt_linesZparseopt_notrack_linesrrr�main's  

r%�__main__)�os.pathrrr
rr%�__name__rrrr�<module>
s

F1le Man4ger