
    #	hf                     H    / S Qr SrSSKrSSKJr  SSKJr  S	S jr  S
S jrg))c_lexerc_parserc_astz2.22    N)check_output   )CParserc                     U/n[        U[        5      (       a  X2-  nOUS:w  a  X2/-  nX0/-  n [        USS9nU$ ! [         a  n[	        SSU-  -   5      eSnAff = f)a   Preprocess a file using cpp.

filename:
    Name of the file you want to preprocess.

cpp_path:
cpp_args:
    Refer to the documentation of parse_file for the meaning of these
    arguments.

When successful, returns the preprocessed file's contents.
Errors from cpp will be printed out.
 T)universal_newlineszAUnable to invoke 'cpp'.  Make sure its path was passed correctly
zOriginal error: %sN)
isinstancelistr   OSErrorRuntimeError)filenamecpp_pathcpp_args	path_listtextes         D/var/www/html/env/lib/python3.13/site-packages/pycparser/__init__.pypreprocess_filer      s     
I(D!!		RZ	I( I$? K  ( 8!A%' ( 	((s   
; 
AAAc                     U(       a  [        XU5      nO-[        R                  " XS9 nUR                  5       nSSS5        Uc
  [	        5       nUR                  WU 5      $ ! , (       d  f       N-= f)a  Parse a C file using pycparser.

filename:
    Name of the file you want to parse.

use_cpp:
    Set to True if you want to execute the C pre-processor
    on the file prior to parsing it.

cpp_path:
    If use_cpp is True, this is the path to 'cpp' on your
    system. If no path is provided, it attempts to just
    execute 'cpp', so it must be in your PATH.

cpp_args:
    If use_cpp is True, set this to the command line arguments strings
    to cpp. Be careful with quotes - it's best to pass a raw string
    (r'') here. For example:
    r'-I../utils/fake_libc_include'
    If several arguments are required, pass a list of strings.

encoding:
    Encoding to use for the file to parse

parser:
    Optional parser object to be used instead of the default CParser

When successful, an AST is returned. ParseError can be
thrown if the file doesn't parse successfully.

Errors from cpp will be printed out.
)encodingN)r   ioopenreadr   parse)r   use_cppr   r   parserr   r   fs           r   
parse_filer!   3   sZ    D x8<WWX1Q668D 2 ~<<h'' 21s   A!!
A/)cppr
   )Fr"   r
   NN)	__all____version__r   
subprocessr   r   r   r   r!        r   <module>r(      s/    + 	 # B BD%)*(r'   