summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update version number to 2.18 for releaserelease_v2.18Eli Bendersky2017-07-044-4/+4
|
* Update READMEEli Bendersky2017-07-041-16/+20
|
* Good time to drop Python 2.6 testing from TravisEli Bendersky2017-04-211-1/+0
| | | | | It doesn't support unittest.skipUnless, and I don't officially support 2.6 any more anyways
* Add more Python versions for AppVeyor CI and add badge to READMEEli Bendersky2017-04-212-0/+8
|
* Conditinally skipping cpp-using tests unless platform is LinuxEli Bendersky2017-04-211-1/+9
|
* Trying to fix appveyor.ymlEli Bendersky2017-04-211-3/+3
|
* Adding simple appveyor.yml file for CI on appveyorEli Bendersky2017-04-211-0/+9
|
* Add compound literal support to CGenerator (eliben/pycparser#176) (#188)Julian Priestley2017-04-192-0/+10
|
* Basic AST dumping sampleEli Bendersky2017-04-071-0/+25
|
* Remove myself from the copyrights inside the ply directoryEli Bendersky2017-04-034-4/+1
|
* Updates vendored PLY library to v3.10 (#184)Loren Gordon2017-04-034-66/+60
| | | Fixes #175
* Add fakedef (#183)Jean-Sébastien B2017-03-163-0/+22
| | | | | | * Add Mir typedefs in fake headers * Add xcb includes to fake includes
* Merge branch 'master' of github.com:eliben/pycparserEli Bendersky2017-03-162-0/+8
|\
| * Add basic XLib objects in fake package of pycparser (#180)Jean-Sébastien B2017-03-162-0/+8
| |
* | Update CHANGES and clean up the explore_ast exampleEli Bendersky2017-03-102-32/+31
|/
* Add column support in c_parser (#178)serpilliere2017-03-103-86/+100
|
* Python 3.6 invalid escape sequence deprecation fixes (#177)Ville Skyttä2017-03-044-8/+8
| | | https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
* Clean up cdecl.py a bitEli Bendersky2017-02-261-14/+19
|
* Add support for expanding struct and typedef -- Issue 93 (#174)Hart Chu2017-02-261-5/+93
| | | | | | * Add support for expanding struct and typedef * Make expansion return a new node instead of in-place modification
* Update changes and reformat commentEli Bendersky2017-02-222-3/+4
|
* Fix parsing TYPEIDs in declarators (#169)Nate Bogdanowicz2017-02-223-99/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Tweak serialize_ast sample to use `with` statementsEli Bendersky2017-02-211-8/+6
|
* Add example of serializing AST for #82 (#172)Hart Chu2017-02-211-0/+38
| | | | | | * Fix comment typo * Add example of serializing AST
* Fix comment typo (#171)Hart Chu2017-02-192-2/+2
|
* Clean up internal hacking utilEli Bendersky2017-02-051-10/+8
|
* PR #159 was reverted - remove it from CHANGES for nowEli Bendersky2017-02-021-2/+0
|
* Revert "Add argument to CParser.__init__ for overriding the yacc start ↵Eli Bendersky2017-02-022-16/+2
| | | | | | symbol. (#159)" This reverts commit 44137334bac69df72c6378fa84931006179d8bdf.
* dump and load as json (#163)Michael White2017-02-021-0/+203
| | | | | | | | | | | | * 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.
* Remove Copyright from every source fileEli Bendersky2017-02-0222-23/+25
| | | | Replace it by website link; copyright appears in the LICENSE file already, which is sufficient
* A bit of internal cleanupEli Bendersky2017-01-312-9/+5
|
* Updated CHANGES with some recent changes since 2.17 was releasedEli Bendersky2017-01-282-1/+8
|
* Merge upstream PLY 3.9 into pycparser tree. (#161)David A. Riggs2017-01-285-35/+68
| | | | * Merge upstream PLY 3.9 into pycparser tree.
* Add argument to CParser.__init__ for overriding the yacc start symbol. (#159)Manuel Jacob2017-01-152-2/+16
| | | | | | | | * 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__.
* Merge pull request #158 from manueljacob/int128Eli Bendersky2017-01-133-1/+7
|\ | | | | Add support for the __int128 type.
| * Add support for the __int128 type.Manuel Jacob2017-01-123-1/+7
|/ | | | | This type is not part of the core C99 or C11 standards, but is mentioned in both documents under "Common extensions".
* Place 3.3 back into travis test listEli Bendersky2016-10-311-1/+1
|
* Update README to link to the LICENSE file directlyEli Bendersky2016-10-311-1/+1
|
* Merge branch 'master' of github.com:eliben/pycparser into try-release-2.17release_v2.17try-release-2.17Eli Bendersky2016-10-281-1/+1
|\ | | | | | | | | Conflicts: TODO.txt
| * Cosmetic fixesEli Bendersky2016-10-272-3/+2
| |
| * Merge branch 'master' of github.com:eliben/pycparserEli Bendersky2016-10-244-4/+9
| |\
| * | Update instructions to create wheel for new releasesEli Bendersky2016-10-181-0/+1
| | |
* | | Update TODO with directions for new version releasesEli Bendersky2016-10-271-1/+12
| | |
* | | Prepare release 2.17Eli Bendersky2016-10-275-6/+13
| |/ |/|
* | Prepare 2.16 for releaserelease_v2.16Eli Bendersky2016-10-184-4/+9
|/
* Prepare for releasing v2.15release_v2.15Eli Bendersky2016-10-184-4/+5
|
* Update changesEli Bendersky2016-10-111-0/+1
|
* Issue #116: Fix coord assignment to compound statementsEli Bendersky2016-10-112-0/+11
|
* Issue #116: Fix line number assignment to EmptyStatementEli Bendersky2016-10-112-10/+16
|
* Improve the behavior of pathological bad string literals a bit.Eli Bendersky2016-10-101-1/+1
| | | | | By making the first * non-greedy, performance is ~10-15% better; it still demonstrates pahological backtracking slowness (issue #61).
* Adding test for exercising issue #61Eli Bendersky2016-10-102-8/+11
| | | | | The test shows that on a simple lexer level the issue doesn't manifest. It does, however, manifest if parsing a file.