aboutsummaryrefslogtreecommitdiff
path: root/pycparser
AgeCommit message (Collapse)Author
2012-12-25Issue #83: Distinguish initializer lists from expression listsEli Bendersky
2012-12-25Issue #84: fix C generation for some statementsEli Bendersky
2012-12-25Issue #89: fix C generation for K&R-style declarationsEli Bendersky
2012-12-25Issue #86: fix token column computationEli Bendersky
2012-12-25Googlecode issue #87: improve error reporting for parse errors to containEli Bendersky
columns.
2012-12-24Added ply 3.4 to be redistributed with pycparser. This aids withEli Bendersky
distribution and with tests.
2012-08-10Fixes for issue 74: pass decimal escapes \<num> in the lexereliben
2012-08-10failing test for windowsEli Bendersky
2012-08-10Issue 73: initial pragma implementationEli Bendersky
2012-08-10refactor cpp invocation from parse_file into preprocess_fileEli Bendersky
2012-07-07Issue 68Eli Bendersky
2012-07-06Make sure the parser remembers the coordinates of simple string typesEli Bendersky
(such as 'int' or typedef_name) by always keeping them in an IdentifierType node. This allows to correctly report some errors, which fixes issue 60. Also cleanup some whitespace & formatting issues, and replace deprecated unittest methods for python3.
2012-06-16preparing release 2.07Eli Bendersky
2012-06-15Issue 57: support for C99 hexadecimal float constantsEli Bendersky
2012-06-15Issue 62: correct coord for Ellipsis nodesEli Bendersky
2012-06-15Issue 54: optional parser argument to parse_fileEli Bendersky
2012-02-04preparation for 2.06 releaseEli Bendersky
2012-02-03Transform the AST to create a correct representation of the cases inside a ↵Eli Bendersky
switch statement
2012-02-03typo & cosmetic changesEli Bendersky
2012-02-03cosmeticEli Bendersky
2012-02-031. make examples callable from root dirBen
2. improve error message displayed to the user when cpp is not found by parse_file
2012-01-24fix c generator to preserve qualifiers between pointer * and var nameEli Bendersky
2012-01-24fix the case where the first statement in a file is empty (just a ↵Eli Bendersky
semicolon). Fix provided by Andreas Kloeckner
2012-01-24moving CGenerator from examples/c-to-c.py into its own class in pycparser/. ↵Eli Bendersky
c-to-c remains as a shell example over it
2012-01-19fix problem in c-to-c generation of casts. Patch by Andreas KloecknerEli Bendersky
2012-01-19fix reversal of specifiers & qualifiers in C generationEli Bendersky
2012-01-19Support for C99 _Complex type. Patch by Andreas KloecknerEli Bendersky
2011-11-12adding ability to Node.show to display each node's name (in its parent). ↵eli.bendersky
Based on code contributed by Tomer Segal in Issue #51
2011-11-06Fix for issue 50, added support for more windows chars in #line path.Even
2011-10-31Issue 49: Allow dots ('.') in string escapes for the sake of #line ↵eli.bendersky
directives with Windows paths like "..\..\test" + added tests
2011-10-19fixing previous fix:eli.bendersky
- that rule created many conflicts. change it to having a check in the parse method instead
2011-10-19fix issue 48: handling of empty fileseli.bendersky
2011-10-16Preparing for release 2.05eli.bendersky
2011-10-16* Added EmptyStatement node to represent an empty statement (sole ';'), with ↵eli.bendersky
tests and c-to-c support * Added sys.path update in _build_tables.py to enable it to run correctly from the pycparser folder
2011-09-24- cosmetic fixes for the _Bool patcheli.bendersky
- adding tests for _Bool & stdbool
2011-09-18Added support for C99 _Bool type.Even
Also added stdbool.h to fake_libc_includes, and its defines and typedefs to _fake_defines.h and _fake_typedefs.h.
2011-08-31* added some material to the explore_ast.py exampleeli.bendersky
* some cosmetic changes
2011-06-22fix a problem with previous commit:eli.bendersky
- wrap anonymous type decls in structs in IdentifierType
2011-06-22Fix for Issue #39: allow anonymous struct fields not only of union/struct ↵eli.bendersky
types. Although the C1X standard doesn't really allow it, some compilers (MSVC) do, and Windows headers have typedefs there. Since pycparser shouldn't semantically follow typedefs, and it isn't about rejecting all invalid code, there's no harm in allowing this
2011-05-21updating version to 2.04eli.bendersky
2011-05-20Basic scoping of typedefs implementedeli.bendersky
2011-04-29changed license notices to BSD in all fileseli.bendersky
2011-03-31Issue 29: some typos in CParser methodseli.bendersky
2011-03-06preparing for release 2.03eli.bendersky
2011-03-04fixing issue 23: coords of castseli.bendersky
2011-02-18began skeleton implementation of c-to-c.py exampleeli.bendersky
2011-02-18Removed portability.py, using from __future__ import print_function instead. ↵eli.bendersky
This means only Python 2.6 and later is supported in 2.x
2011-02-10 some fixes to previous commit + testeli.bendersky
2011-02-10Issue 19: Anonymous unions within struct cause parser erroreli.bendersky
2011-02-04Handle empty ';' statements inside functionseli.bendersky