summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2014-04-23 16:53:39 -0700
committerEli Bendersky <eliben@gmail.com>2014-04-23 16:53:39 -0700
commit64782f58fb0416408d15ef35aa7bd6cc87075a03 (patch)
treed03fbc42e6f725d1dd997e50f81b0cfa52c46b0a /examples
parentc9f1a38647ce50ec91434e9f42127fba6041c206 (diff)
downloadpycparser-64782f58fb0416408d15ef35aa7bd6cc87075a03.tar.gz
A bit of cleanup
Diffstat (limited to 'examples')
-rw-r--r--examples/func_calls.py3
-rw-r--r--examples/using_cpp_libc.py5
2 files changed, 2 insertions, 6 deletions
diff --git a/examples/func_calls.py b/examples/func_calls.py
index fe30181..f56f153 100644
--- a/examples/func_calls.py
+++ b/examples/func_calls.py
@@ -46,6 +46,3 @@ if __name__ == "__main__":
func = 'malloc'
show_func_calls(filename, func)
-
-
-
diff --git a/examples/using_cpp_libc.py b/examples/using_cpp_libc.py
index 1c28c7a..e9b8a8b 100644
--- a/examples/using_cpp_libc.py
+++ b/examples/using_cpp_libc.py
@@ -1,11 +1,11 @@
#-----------------------------------------------------------------
-# pycparser: use_cpp_libc.py
+# pycparser: using_cpp_libc.py
#
# Shows how to use the provided 'cpp' (on Windows, substitute for
# the 'real' cpp if you're on Linux/Unix) and "fake" libc includes
# to parse a file that includes standard C headers.
#
-# Copyright (C) 2008-2011, Eli Bendersky
+# Copyright (C) 2008-2014, Eli Bendersky
# License: BSD
#-----------------------------------------------------------------
import sys
@@ -32,4 +32,3 @@ if __name__ == "__main__":
cpp_args=r'-I../utils/fake_libc_include')
ast.show()
-