Py010parser

Latest version: v0.1.16

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

2.06

- Issue 48: gracefully handle parsing of empty files
- Issues 49 & 50: handle more escaped chars in paths to line - "..\..\test.h".
- Support for C99 _Complex type.
- CGenerator moves from examples/ to pycparser/ as a first-class citizen, and
added some fixes to it. examples/c-to-c.py still stays as a convenience
wrapper.
- Fix problem with parsing a file in which the first statement is just a
semicolon.
- Improved the AST created for switch statements, making it closer to the
semantic meaning than to the grammar.

2.05

- Added support for the C99 ``_Bool`` type and ``stdbool.h`` header file
- Expanded ``examples/explore_ast.py`` with more details on working with the
AST
- Relaxed the rules on parsing unnamed struct members (helps parse ``windows.h``)
- Bug fixes:

* Fixed spacing issue for some type declarations
* Issue 47: display empty statements (lone ';') correctly after parsing

2.04

- License changed from LGPL to BSD
- Bug fixes:

* Issue 31: constraining the scope of typedef definitions
* Issues 33, 35: fixes for the c-to-c.py example

- Added C99 integer types to fake headers
- Added unit tests for the c-to-c.py example

2.03

- Bug fixes:

* Issue 17: empty file-level declarations
* Issue 18: empty statements and declarations in functions
* Issue 19: anonymous structs & union fields
* Issue 23: fix coordinates of Cast nodes

- New example added (``examples/c-to-c.py``) for translating ASTs generated by ``pycparser`` back into C code.
- ``pycparser`` is now on PyPI (Python Package Index)
- Created `FAQ <http://code.google.com/p/pycparser/wiki/FAQ>`_ on the ``pycparser`` project page
- Removed support for Python 2.5. ``pycparser`` supports Python 2 from 2.6 and on, and Python 3.

2.02

* The name of a ``NamedInitializer`` node was turned into a sequence of nodes
instead of an attribute, to make it discoverable by the AST node visitor.
* Documentation updates

2.01

* Removed dependency on YAML. Parsing of the AST node configuration file is done with a simple parser.
* Fixed issue 12: installation problems

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.