gfLddlZddlZdZdZdZedkr edSdS)Nct|}d|z}d|z}|D].\}}||rn/|D].\}}||rn/|dz|fS)Nz #--! %s-startz #--! %s-end) enumeratestrip startswithendswith)linestagsrclines start_tagend_tag start_indexline end_indexs r/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/pycparser/ply/ygen.pyget_source_ranger sH#%Ic!G% T ::<< " "9 - -  E $ 4 ::<<  ) )  E  !OY ''cg}d}d|z}|D]D}||r| }-|r||E|S)NTz#--! %s)rrappend)r r filtered_linesincludetag_textrs rfilter_sectionrsnNG3H(( ::<< " "8 , , (!kGG  (  ! !$ ' ' ' rcrtjt}t jtj|dtj|dttj|dd5}|}dddn #1swxYwYt|d\}}t|d\}}t|d\}}|||} t| d} t| d} | |||<| |||<d |D}ttj|dd 5}| |dddn #1swxYwYtd dS) Nzyacc.pyz yacc.py.bakr parsedebugparseoptzparseopt-notrackDEBUGTRACKINGc<g|]}|dzS) )rstrip).0rs r zmain..>s% 2 2 2DT[[]]4  2 2 2rwzUpdated yacc.py) ospathdirname__file__shutilcopy2joinopen readlinesrr writelinesprint) r(fr parse_start parse_endparseopt_start parseopt_endparseopt_notrack_startparseopt_notrack_end orig_linesparseopt_linesparseopt_notrack_liness rmainr;'s gooh''G Lgy1127<<3W3WXXX bgll7I.. 4 4 .e\BBK#3E:#F#F NL3CEK]3^3^00{9,-J$J88N,NJGG:PE !5 56)7E. %& 2 2E 2 2 2E bgll7I.. 4 4 U s$$CC  C ;FF!$F!__main__)os.pathr&r*rrr;__name__rrr@sj  ( ( (   : zDFFFFFr