summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2015-05-18 06:33:01 -0700
committerEli Bendersky <eliben@gmail.com>2015-05-18 06:33:01 -0700
commit3a5bfeab5d0a4e76bb1399b0208950072b28d6af (patch)
tree7c59ae5a69db248606e4f5b81c704090543a262a /examples
parenta1334e5550b17a52d1826d0732d01f98412fd1ce (diff)
downloadpycparser-3a5bfeab5d0a4e76bb1399b0208950072b28d6af.tar.gz
Wipe out more mentions of lcc's cpp
Diffstat (limited to 'examples')
-rw-r--r--examples/using_cpp_libc.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/using_cpp_libc.py b/examples/using_cpp_libc.py
index 89ca68c..bc529a0 100644
--- a/examples/using_cpp_libc.py
+++ b/examples/using_cpp_libc.py
@@ -15,9 +15,6 @@ import sys
#
sys.path.extend(['.', '..'])
-# Portable cpp path for Windows and Linux/Unix
-CPPPATH = 'utils/cpp.exe' if sys.platform == 'win32' else 'cpp'
-
from pycparser import parse_file
@@ -28,7 +25,7 @@ if __name__ == "__main__":
filename = 'examples/c_files/year.c'
ast = parse_file(filename, use_cpp=True,
- cpp_path=CPPPATH,
+ cpp_path='cpp',
cpp_args=r'-Iutils/fake_libc_include')
ast.show()