diff options
-rw-r--r-- | examples/README.rst | 1 | ||||
-rw-r--r-- | examples/using_cpp_libc.py | 3 | ||||
-rw-r--r-- | examples/using_gcc_E_libc.py | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/examples/README.rst b/examples/README.rst new file mode 100644 index 0000000..a828cce --- /dev/null +++ b/examples/README.rst @@ -0,0 +1 @@ +Run these examples from the root directory of pycparser diff --git a/examples/using_cpp_libc.py b/examples/using_cpp_libc.py index bc529a0..4fdf881 100644 --- a/examples/using_cpp_libc.py +++ b/examples/using_cpp_libc.py @@ -25,7 +25,6 @@ if __name__ == "__main__": filename = 'examples/c_files/year.c' ast = parse_file(filename, use_cpp=True, - cpp_path='cpp', + cpp_path='cpp', cpp_args=r'-Iutils/fake_libc_include') - ast.show() diff --git a/examples/using_gcc_E_libc.py b/examples/using_gcc_E_libc.py index 789c0c3..8c9e713 100644 --- a/examples/using_gcc_E_libc.py +++ b/examples/using_gcc_E_libc.py @@ -27,5 +27,4 @@ if __name__ == "__main__": ast = parse_file(filename, use_cpp=True, cpp_path='gcc', cpp_args=['-E', r'-Iutils/fake_libc_include']) - ast.show() |