aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-17Implement __repr__ on Nodes (Issue #226) (#227)ldore
* Implement __repr__ on Nodes.
2017-12-31Add clicky link for examples (#209)B M Corser
2017-12-31Add missing fake_libc_includes for POSIX.1-2008 compatibility (#228)Bart Clephas
2017-11-22Minor cleanupsEli Bendersky
- Removed unnecessary whitespace - Removed old & stale 'if __main__' sections in some of the library files
2017-11-22Add support for #pragma in struct_declaration (Issue #221). (#222)ldore
2017-11-20Improve NodeVisitor performance, add iterator on Node children (Issue #219). ↵ldore
(#220) Improve NodeVisitor performance, add iterator on Node children.
2017-10-18Format enums with one value per line (#216)Kyle Altendorf
* Format enums with one value per line Issue #213
2017-10-10Add Python 3.6 (#214)Hugo
* Add Python 3.6 Plus the other explicit major.minor versions supported
2017-07-21Add README clarification re -OO; relevant to #198Eli Bendersky
2017-07-13Address an import of pycparser in -OO mode.Eli Bendersky
In this mode there are no docstrings; we don't want an instantiation of CParser to fail, though it won't actually work correctly if used. See #197 and #198
2017-07-04Add clarification about making releases in TODO.txtEli Bendersky
2017-07-04Update version number to 2.18 for releaseEli Bendersky
2017-07-04Update READMEEli Bendersky
2017-04-21Good time to drop Python 2.6 testing from TravisEli Bendersky
It doesn't support unittest.skipUnless, and I don't officially support 2.6 any more anyways
2017-04-21Add more Python versions for AppVeyor CI and add badge to READMEEli Bendersky
2017-04-21Conditinally skipping cpp-using tests unless platform is LinuxEli Bendersky
2017-04-21Trying to fix appveyor.ymlEli Bendersky
2017-04-21Adding simple appveyor.yml file for CI on appveyorEli Bendersky
2017-04-19Add compound literal support to CGenerator (eliben/pycparser#176) (#188)Julian Priestley
2017-04-07Basic AST dumping sampleEli Bendersky
2017-04-03Remove myself from the copyrights inside the ply directoryEli Bendersky
2017-04-03Updates vendored PLY library to v3.10 (#184)Loren Gordon
Fixes #175
2017-03-16Add fakedef (#183)Jean-Sébastien B
* Add Mir typedefs in fake headers * Add xcb includes to fake includes
2017-03-16Merge branch 'master' of github.com:eliben/pycparserEli Bendersky
2017-03-16Add basic XLib objects in fake package of pycparser (#180)Jean-Sébastien B
2017-03-10Update CHANGES and clean up the explore_ast exampleEli Bendersky
2017-03-10Add column support in c_parser (#178)serpilliere
2017-03-04Python 3.6 invalid escape sequence deprecation fixes (#177)Ville Skyttä
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
2017-02-26Clean up cdecl.py a bitEli Bendersky
2017-02-26Add support for expanding struct and typedef -- Issue 93 (#174)Hart Chu
* Add support for expanding struct and typedef * Make expansion return a new node instead of in-place modification
2017-02-22Update changes and reformat commentEli Bendersky
2017-02-22Fix parsing TYPEIDs in declarators (#169)Nate Bogdanowicz
* Remove `init_declarator_list` workarounds * Remove `struct_declaration` workaround * Remove `declarator` pointer workaround * Add `@parameterized` decorator for parser rules * Rename `declarator` productions to `id_declarator` in preparation of adding `typeid_declarator` * Use `id_declarator` in function definitions * Add `typeid_declarator` and allow it as a `declarator` * Create separate production for `type_specifier_no_typeid` * Allow specifiers to be appended (useful for left-recursive lists) * Change `specifier_qualifier_list` to be left-recursive and require at least one `type specifier` * Change `declaration_specifiers` to require one `type_specifier` and disallow `typeid`s once we've seen a `type_specifier` * Allow `decl_body` to omit a `type_specifier` if `init_declarator` doesn't start with a TYPEID * Add `typeid_noparen_declarator` for use in `parameter_declaration`s * Add test for multi-declarator declaration using a typedef name * Move test into a more appropriate function and add another test * Expand UnaryOp in `expand_init()` * Add test for redefining name in the middle of a declaration * Added info on the `append` parameter. * Move rule template processing to a class constructor * Auto-remove template methods and remove leading underscores * Use xxx/yyy instead of XXX/YYY for better readability * Add more documentation of the templating functions * Add test for correct handling of ambiguity in parameter declarations * Don't test incremental generation of declarators yet
2017-02-21Tweak serialize_ast sample to use `with` statementsEli Bendersky
2017-02-21Add example of serializing AST for #82 (#172)Hart Chu
* Fix comment typo * Add example of serializing AST
2017-02-19Fix comment typo (#171)Hart Chu
2017-02-05Clean up internal hacking utilEli Bendersky
2017-02-02PR #159 was reverted - remove it from CHANGES for nowEli Bendersky
2017-02-02Revert "Add argument to CParser.__init__ for overriding the yacc start ↵Eli Bendersky
symbol. (#159)" This reverts commit 44137334bac69df72c6378fa84931006179d8bdf.
2017-02-02dump and load as json (#163)Michael White
* ast to json working * Now roundtrippable * Serialize all attrs to json. Handle coords attr which was silently dropped previously. * Documentation and comment fixes. * Minor comment tweak.
2017-02-02Remove Copyright from every source fileEli Bendersky
Replace it by website link; copyright appears in the LICENSE file already, which is sufficient
2017-01-31A bit of internal cleanupEli Bendersky
2017-01-28Updated CHANGES with some recent changes since 2.17 was releasedEli Bendersky
2017-01-28Merge upstream PLY 3.9 into pycparser tree. (#161)David A. Riggs
* Merge upstream PLY 3.9 into pycparser tree.
2017-01-15Add argument to CParser.__init__ for overriding the yacc start symbol. (#159)Manuel Jacob
* Add argument to CParser.__init__ for overriding the yacc start symbol. * Add a test for the new 'start' argument of CParser.__init__. * Add documentation for the new 'start' argument of CParser.__init__.
2017-01-13Merge pull request #158 from manueljacob/int128Eli Bendersky
Add support for the __int128 type.
2017-01-12Add support for the __int128 type.Manuel Jacob
This type is not part of the core C99 or C11 standards, but is mentioned in both documents under "Common extensions".
2016-10-31Place 3.3 back into travis test listEli Bendersky
2016-10-31Update README to link to the LICENSE file directlyEli Bendersky
2016-10-28Merge branch 'master' of github.com:eliben/pycparser into try-release-2.17Eli Bendersky
Conflicts: TODO.txt
2016-10-27Update TODO with directions for new version releasesEli Bendersky