/var/opt/nydus/ops/pycparser/__pycache__
NameSizeModeActions
ast_transforms.cpython-312.pyc61310644editdlrm
c_ast.cpython-312.pyc509430644editdlrm
c_generator.cpython-312.pyc347570644editdlrm
c_lexer.cpython-312.pyc226680644editdlrm
c_parser.cpython-312.pyc977270644editdlrm
_ast_gen.cpython-312.pyc136270644editdlrm
__init__.cpython-312.pyc29290644editdlrm
Edit: /var/opt/nydus/ops/pycparser/__pycache__/__init__.cpython-312.pyc (2929B)
N j ZgdZdZddlZddlmZddlmZejZd dZ d dZ y) )c_lexerc_parserc_astz3.00N) check_output)rc|g}t|tr||z }n |dk7r||gz }||gz } t|d}|S#t$r}t dd|zd}~wwxYw)aDPreprocess 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 zOriginal error: N) isinstancelistrOSError RuntimeError)filenamecpp_pathcpp_args path_listtextes C/opt/nydus/tmp/pip-target-a90h98xg/lib/python/pycparser/__init__.pypreprocess_filers I(D!X RhZ  (I  I$? K   : $ %   s ; AAAc|rt|||}n0tj||5}|j}ddd| t }|j |S#1swY'xYw)aParse 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)rioopenreadCParserparse)ruse_cpprrparserrrfs r parse_filer!8s^Fx8< WWX 1Q668D2~ <<h '' 2 1s AA()cppr )Fr"r NN) __all__ __version__r subprocessrr rrrr!rr(s7 + #    HQU+(r'