summaryrefslogtreecommitdiff
path: root/pycparser
Commit message (Collapse)AuthorAgeFilesLines
* Make sure the parser remembers the coordinates of simple string typesEli Bendersky2012-07-063-68/+74
| | | | | | | | (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.
* preparing release 2.07release_v2.07Eli Bendersky2012-06-161-1/+1
|
* Issue 57: support for C99 hexadecimal float constantsEli Bendersky2012-06-152-6/+16
|
* Issue 62: correct coord for Ellipsis nodesEli Bendersky2012-06-151-1/+1
|
* Issue 54: optional parser argument to parse_fileEli Bendersky2012-06-151-3/+7
|
* preparation for 2.06 releaserelease_v2.06Eli Bendersky2012-02-041-1/+1
|
* Transform the AST to create a correct representation of the cases inside a ↵Eli Bendersky2012-02-034-11/+120
| | | | switch statement
* typo & cosmetic changesEli Bendersky2012-02-035-747/+749
|
* cosmeticEli Bendersky2012-02-031-77/+77
|
* 1. make examples callable from root dirBen2012-02-031-8/+13
| | | | | 2. improve error message displayed to the user when cpp is not found by parse_file
* fix c generator to preserve qualifiers between pointer * and var nameEli Bendersky2012-01-241-1/+4
|
* fix the case where the first statement in a file is empty (just a ↵Eli Bendersky2012-01-241-1/+3
| | | | semicolon). Fix provided by Andreas Kloeckner
* moving CGenerator from examples/c-to-c.py into its own class in pycparser/. ↵Eli Bendersky2012-01-242-3/+384
| | | | c-to-c remains as a shell example over it
* fix problem in c-to-c generation of casts. Patch by Andreas KloecknerEli Bendersky2012-01-191-1/+2
|
* fix reversal of specifiers & qualifiers in C generationEli Bendersky2012-01-191-1/+1
|
* Support for C99 _Complex type. Patch by Andreas KloecknerEli Bendersky2012-01-192-2/+5
|
* adding ability to Node.show to display each node's name (in its parent). ↵eli.bendersky2011-11-122-88/+124
| | | | Based on code contributed by Tomer Segal in Issue #51
* Fix for issue 50, added support for more windows chars in #line path.Even2011-11-061-3/+3
|
* Issue 49: Allow dots ('.') in string escapes for the sake of #line ↵eli.bendersky2011-10-311-4/+4
| | | | | | directives with Windows paths like "..\..\test" + added tests
* fixing previous fix:eli.bendersky2011-10-191-6/+4
| | | | - that rule created many conflicts. change it to having a check in the parse method instead
* fix issue 48: handling of empty fileseli.bendersky2011-10-191-0/+5
|
* Preparing for release 2.05eli.bendersky2011-10-161-1/+1
|
* * Added EmptyStatement node to represent an empty statement (sole ';'), with ↵eli.bendersky2011-10-164-2/+20
| | | | | | tests and c-to-c support * Added sys.path update in _build_tables.py to enable it to run correctly from the pycparser folder
* - cosmetic fixes for the _Bool patcheli.bendersky2011-09-241-6/+5
| | | | - adding tests for _Bool & stdbool
* Added support for C99 _Bool type.Even2011-09-182-3/+8
| | | | | Also added stdbool.h to fake_libc_includes, and its defines and typedefs to _fake_defines.h and _fake_typedefs.h.
* * added some material to the explore_ast.py exampleeli.bendersky2011-08-311-1/+1
| | | | * some cosmetic changes
* fix a problem with previous commit:eli.bendersky2011-06-221-1/+7
| | | | - wrap anonymous type decls in structs in IdentifierType
* Fix for Issue #39: allow anonymous struct fields not only of union/struct ↵eli.bendersky2011-06-221-16/+16
| | | | | | | 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
* updating version to 2.04eli.bendersky2011-05-211-1/+1
|
* Basic scoping of typedefs implementedeli.bendersky2011-05-201-23/+47
|
* changed license notices to BSD in all fileseli.bendersky2011-04-297-13/+13
|
* Issue 29: some typos in CParser methodseli.bendersky2011-03-311-3/+3
|
* preparing for release 2.03release_v2.03eli.bendersky2011-03-061-2/+2
|
* fixing issue 23: coords of castseli.bendersky2011-03-041-3/+5
|
* began skeleton implementation of c-to-c.py exampleeli.bendersky2011-02-181-2/+2
|
* Removed portability.py, using from __future__ import print_function instead. ↵eli.bendersky2011-02-184-26/+6
| | | | This means only Python 2.6 and later is supported in 2.x
* some fixes to previous commit + testeli.bendersky2011-02-101-1/+4
|
* Issue 19: Anonymous unions within struct cause parser erroreli.bendersky2011-02-101-17/+33
|
* Handle empty ';' statements inside functionseli.bendersky2011-02-041-2/+3
|
* Fix parsing of empty declarations on the file-level (issue 17)eli.bendersky2011-02-041-1/+7
|
* Moved the .show method into the base class "Node" in _ast_gen.py, to make ↵eli.bendersky2011-02-042-617/+81
| | | | generated code much shorter
* documentation fix: for installation problemsrelease_v2.02eli.bendersky2010-12-101-1/+1
|
* The name of a NamedInitializer node was turned into a sequence of nodeseli.bendersky2010-12-102-1239/+1236
| | | | | | instead of an attribute, to make it discoverable by the AST node visitor. for issue 15
* hg exchange .yaml for .cfg filesrelease_2.01eli.bendersky2010-12-041-2/+1
|
* releasing version 2.01 - removed yaml dependency, fix installation problemseli.bendersky2010-12-045-2821/+2836
|
* Fixes for correct setup of the packageeli.bendersky2010-12-031-1/+1
|
* updated README, prepared for new version tageli.bendersky2010-10-301-2/+2
|
* compound literals now work - a couple of tests addedeli.bendersky2010-10-302-2/+3
|
* initial implementation of C99 named initializers and compound literals. The ↵eli.bendersky2010-10-305-33/+121
| | | | latter still doesn't work because of a shift/reduce conflict
* Implemented 'long long' type support for C99eli.bendersky2010-10-302-2/+5
|