Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure the parser remembers the coordinates of simple string types | Eli Bendersky | 2012-07-06 | 3 | -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.07 | Eli Bendersky | 2012-06-16 | 1 | -1/+1 |
| | |||||
* | Issue 57: support for C99 hexadecimal float constants | Eli Bendersky | 2012-06-15 | 2 | -6/+16 |
| | |||||
* | Issue 62: correct coord for Ellipsis nodes | Eli Bendersky | 2012-06-15 | 1 | -1/+1 |
| | |||||
* | Issue 54: optional parser argument to parse_file | Eli Bendersky | 2012-06-15 | 1 | -3/+7 |
| | |||||
* | preparation for 2.06 releaserelease_v2.06 | Eli Bendersky | 2012-02-04 | 1 | -1/+1 |
| | |||||
* | Transform the AST to create a correct representation of the cases inside a ↵ | Eli Bendersky | 2012-02-03 | 4 | -11/+120 |
| | | | | switch statement | ||||
* | typo & cosmetic changes | Eli Bendersky | 2012-02-03 | 5 | -747/+749 |
| | |||||
* | cosmetic | Eli Bendersky | 2012-02-03 | 1 | -77/+77 |
| | |||||
* | 1. make examples callable from root dir | Ben | 2012-02-03 | 1 | -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 name | Eli Bendersky | 2012-01-24 | 1 | -1/+4 |
| | |||||
* | fix the case where the first statement in a file is empty (just a ↵ | Eli Bendersky | 2012-01-24 | 1 | -1/+3 |
| | | | | semicolon). Fix provided by Andreas Kloeckner | ||||
* | moving CGenerator from examples/c-to-c.py into its own class in pycparser/. ↵ | Eli Bendersky | 2012-01-24 | 2 | -3/+384 |
| | | | | c-to-c remains as a shell example over it | ||||
* | fix problem in c-to-c generation of casts. Patch by Andreas Kloeckner | Eli Bendersky | 2012-01-19 | 1 | -1/+2 |
| | |||||
* | fix reversal of specifiers & qualifiers in C generation | Eli Bendersky | 2012-01-19 | 1 | -1/+1 |
| | |||||
* | Support for C99 _Complex type. Patch by Andreas Kloeckner | Eli Bendersky | 2012-01-19 | 2 | -2/+5 |
| | |||||
* | adding ability to Node.show to display each node's name (in its parent). ↵ | eli.bendersky | 2011-11-12 | 2 | -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. | Even | 2011-11-06 | 1 | -3/+3 |
| | |||||
* | Issue 49: Allow dots ('.') in string escapes for the sake of #line ↵ | eli.bendersky | 2011-10-31 | 1 | -4/+4 |
| | | | | | | directives with Windows paths like "..\..\test" + added tests | ||||
* | fixing previous fix: | eli.bendersky | 2011-10-19 | 1 | -6/+4 |
| | | | | - that rule created many conflicts. change it to having a check in the parse method instead | ||||
* | fix issue 48: handling of empty files | eli.bendersky | 2011-10-19 | 1 | -0/+5 |
| | |||||
* | Preparing for release 2.05 | eli.bendersky | 2011-10-16 | 1 | -1/+1 |
| | |||||
* | * Added EmptyStatement node to represent an empty statement (sole ';'), with ↵ | eli.bendersky | 2011-10-16 | 4 | -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 patch | eli.bendersky | 2011-09-24 | 1 | -6/+5 |
| | | | | - adding tests for _Bool & stdbool | ||||
* | Added support for C99 _Bool type. | Even | 2011-09-18 | 2 | -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 example | eli.bendersky | 2011-08-31 | 1 | -1/+1 |
| | | | | * some cosmetic changes | ||||
* | fix a problem with previous commit: | eli.bendersky | 2011-06-22 | 1 | -1/+7 |
| | | | | - wrap anonymous type decls in structs in IdentifierType | ||||
* | Fix for Issue #39: allow anonymous struct fields not only of union/struct ↵ | eli.bendersky | 2011-06-22 | 1 | -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.04 | eli.bendersky | 2011-05-21 | 1 | -1/+1 |
| | |||||
* | Basic scoping of typedefs implemented | eli.bendersky | 2011-05-20 | 1 | -23/+47 |
| | |||||
* | changed license notices to BSD in all files | eli.bendersky | 2011-04-29 | 7 | -13/+13 |
| | |||||
* | Issue 29: some typos in CParser methods | eli.bendersky | 2011-03-31 | 1 | -3/+3 |
| | |||||
* | preparing for release 2.03release_v2.03 | eli.bendersky | 2011-03-06 | 1 | -2/+2 |
| | |||||
* | fixing issue 23: coords of casts | eli.bendersky | 2011-03-04 | 1 | -3/+5 |
| | |||||
* | began skeleton implementation of c-to-c.py example | eli.bendersky | 2011-02-18 | 1 | -2/+2 |
| | |||||
* | Removed portability.py, using from __future__ import print_function instead. ↵ | eli.bendersky | 2011-02-18 | 4 | -26/+6 |
| | | | | This means only Python 2.6 and later is supported in 2.x | ||||
* | some fixes to previous commit + test | eli.bendersky | 2011-02-10 | 1 | -1/+4 |
| | |||||
* | Issue 19: Anonymous unions within struct cause parser error | eli.bendersky | 2011-02-10 | 1 | -17/+33 |
| | |||||
* | Handle empty ';' statements inside functions | eli.bendersky | 2011-02-04 | 1 | -2/+3 |
| | |||||
* | Fix parsing of empty declarations on the file-level (issue 17) | eli.bendersky | 2011-02-04 | 1 | -1/+7 |
| | |||||
* | Moved the .show method into the base class "Node" in _ast_gen.py, to make ↵ | eli.bendersky | 2011-02-04 | 2 | -617/+81 |
| | | | | generated code much shorter | ||||
* | documentation fix: for installation problemsrelease_v2.02 | eli.bendersky | 2010-12-10 | 1 | -1/+1 |
| | |||||
* | The name of a NamedInitializer node was turned into a sequence of nodes | eli.bendersky | 2010-12-10 | 2 | -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.01 | eli.bendersky | 2010-12-04 | 1 | -2/+1 |
| | |||||
* | releasing version 2.01 - removed yaml dependency, fix installation problems | eli.bendersky | 2010-12-04 | 5 | -2821/+2836 |
| | |||||
* | Fixes for correct setup of the package | eli.bendersky | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | updated README, prepared for new version tag | eli.bendersky | 2010-10-30 | 1 | -2/+2 |
| | |||||
* | compound literals now work - a couple of tests added | eli.bendersky | 2010-10-30 | 2 | -2/+3 |
| | |||||
* | initial implementation of C99 named initializers and compound literals. The ↵ | eli.bendersky | 2010-10-30 | 5 | -33/+121 |
| | | | | latter still doesn't work because of a shift/reduce conflict | ||||
* | Implemented 'long long' type support for C99 | eli.bendersky | 2010-10-30 | 2 | -2/+5 |
| |