| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/saltstack/salt/lib/python3.10/site-packages/pycparser/__pycache__/ |
Upload File : |
o
;j
� @ sL g d �Z dZddlZddlmZ ddlmZ ejZdd d
�Z ddd
�Z dS ))Zc_lexer�c_parserZc_astz3.00� N)�check_output� )r �cpp� c
C st |g}t |t�r
||7 }n |dkr||g7 }|| g7 }z t|dd�}W |S ty9 } z tdd|� � ��d}~ww )aD 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.
r T)�universal_newlineszAUnable to invoke 'cpp'. Make sure its path was passed correctly
zOriginal error: N)�
isinstance�listr �OSError�RuntimeError)�filename�cpp_path�cpp_args� path_list�text�e� r �F/opt/saltstack/salt/lib/python3.10/site-packages/pycparser/__init__.py�preprocess_file s"