ok

Mini Shell

Direktori : /opt/imunify360/venv/lib/python3.11/site-packages/pycparser/ply/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/pycparser/ply/__pycache__/ygen.cpython-311.pyc

�

g��f���L�ddlZddlZd�Zd�Zd�Zedkre��dSdS)�Nc��t|��}d|z}d|z}|D].\}}|����|��rn�/|D].\}}|����|��rn�/|dz|fS)Nz
#--! %s-startz#--! %s-end�)�	enumerate�strip�
startswith�endswith)�lines�tag�srclines�	start_tag�end_tag�start_index�line�	end_indexs        �r/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/pycparser/ply/ygen.py�get_source_ranger
s�������H��#�%�I��c�!�G�%�����T��:�:�<�<�"�"�9�-�-�	��E�	�$����	�4��:�:�<�<� � ��)�)�	��E�	�
�!�O�Y�'�'�c��g}d}d|z}|D]D}|����|��r|}�-|r|�|���E|S)NTz#--! %s)rr�append)r	r
�filtered_lines�include�tag_textrs      r�filter_sectionrsn���N��G��3��H��(�(���:�:�<�<�"�"�8�,�,�	(�!�k�G�G�
�	(��!�!�$�'�'�'���rc�r�tj�t��}t	jtj�|d��tj�|d����ttj�|d��d��5}|���}ddd��n#1swxYwYt|d��\}}t|d��\}}t|d��\}}|||�}	t|	d��}
t|
d��}||||�<|
|||�<d	�|D��}ttj�|d��d
��5}|�|��ddd��n#1swxYwYtd��dS)Nzyacc.pyzyacc.py.bak�r�
parsedebug�parseoptzparseopt-notrack�DEBUG�TRACKINGc�<�g|]}|���dz��S)�
)�rstrip)�.0rs  r�
<listcomp>zmain.<locals>.<listcomp>>s%��2�2�2�D�T�[�[�]�]�4�
�2�2�2r�wzUpdated yacc.py)
�os�path�dirname�__file__�shutil�copy2�join�open�	readlinesrr�
writelines�print)r(�fr	�parse_start�	parse_end�parseopt_start�parseopt_end�parseopt_notrack_start�parseopt_notrack_end�
orig_lines�parseopt_lines�parseopt_notrack_liness            r�mainr;'s���g�o�o�h�'�'�G�
�L�����g�y�1�1�2�7�<�<���3W�3W�X�X�X�	
�b�g�l�l�7�I�.�.��	4�	4������
�
��������������������.�e�\�B�B��K��#3�E�:�#F�#F� �N�L�3C�E�K]�3^�3^�0��0��{�9�,�-�J�$�J��8�8�N�,�N�J�G�G��:P�E�
 �!5�
5�6�)7�E�.��
%�&�2�2�E�2�2�2�E�	
�b�g�l�l�7�I�.�.��	4�	4���	���U����������������������
�
�����s$�$C�C	�C	�;F�F!�$F!�__main__)�os.pathr&r*rrr;�__name__�rr�<module>r@sj������
�
�
�
�
(�
(�
(�	�	�	����:�z����D�F�F�F�F�F��r

Zerion Mini Shell 1.0