aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2016-10-27Prepare release 2.17Eli Bendersky
2016-10-27Cosmetic fixesEli Bendersky
2016-10-24Merge branch 'master' of github.com:eliben/pycparserEli Bendersky
2016-10-18Prepare 2.16 for releaseEli Bendersky
2016-10-18Update instructions to create wheel for new releasesEli Bendersky
2016-10-18Prepare for releasing v2.15Eli Bendersky
2016-10-11Update changesEli Bendersky
2016-10-11Issue #116: Fix coord assignment to compound statementsEli Bendersky
2016-10-11Issue #116: Fix line number assignment to EmptyStatementEli Bendersky
2016-10-10Improve the behavior of pathological bad string literals a bit.Eli Bendersky
By making the first * non-greedy, performance is ~10-15% better; it still demonstrates pahological backtracking slowness (issue #61).
2016-10-10Adding test for exercising issue #61Eli Bendersky
The test shows that on a simple lexer level the issue doesn't manifest. It does, however, manifest if parsing a file.
2016-09-10Update CHANGESEli Bendersky
2016-09-10Merge pull request #145 from Ksero/Issue87Eli Bendersky
Fix eliben/pycparser#87 : offsetof() support is incomplete
2016-09-09Fix eliben/pycparser#87 : offsetof() support is incompleteksero
2016-08-17Merge pull request #141 from cod3monk/upstreamEli Bendersky
report filename if error is "At end of input"
2016-08-16report filename if error is "at end of input"Julian Hammer
2016-07-26Merge pull request #133 from esoma/masterEli Bendersky
Allow user to decide which lexer the parser uses.
2016-07-25Allow user to decide which lexer the parser uses.Erik Soma
2016-07-14Merge pull request #132 from dmurdin/ternary-genEli Bendersky
Protected expressions in ternary operator with paranthesis.
2016-07-14Protected expressions in ternary operator with paranthesis.Daniel Murdin
2016-06-19Merge pull request #128 from adamchainz/readthedocs.ioEli Bendersky
Convert readthedocs link for their .org -> .io migration for hosted projects
2016-05-29Convert readthedocs link for their .org -> .io migration for hosted projectsAdam Chainz
As per their email ‘Changes to project subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
2016-04-23Update LICENSEEli Bendersky
2016-04-19Update "tested" versions s/3.3/3.5/Eli Bendersky
It's mid 2016 after all :)
2016-04-19Update CHANGES and tox envEli Bendersky
2016-04-19Merge pull request #121 from doctaphred/masterEli Bendersky
Upgrade ply to 3.8
2016-04-18Upgrade ply to 3.8Frederick Wagner
The new version includes some bugfixes that affect downstream projects.
2016-03-19Update CHANGES with the recently accumulated fixesEli Bendersky
2016-03-19Fix parsing of extra semi-colons inside structure declarations.Eli Bendersky
Fixes #117
2016-03-09Merge pull request #115 from Smattr/d5f4a2d3-e7b8-4b3a-bdd8-4b295509b3a7Eli Bendersky
Fix trivial comment typo.