Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for #pragma | Julian Hammer | 2015-10-20 | 1 | -0/+2 |
| | | | | | | | | | | | | Preprocessor pragmas and their arguments are tokenized (as PPPRAGMA and PPPRAGMASTR) and included in the AST as a pppragma directive with the argument as value. If no argument was given the string will be empty. Unit test of the lexer, parser and generator have been modified and added accordingly. The previous behavior, that #pragma lines would be ignored, is henceforth obsolete. | ||||
* | Various cosmetic updates to documentation | Eli Bendersky | 2015-05-10 | 1 | -1/+1 |
| | |||||
* | Decrease memory usage of pycparser by using __slots__ in AST nodes. | Eli Bendersky | 2015-04-18 | 1 | -4/+1 |
| | | | | | | | | | In general, there's no need to dynamically adjust the attributes of AST nodes. So __slots__ seems suitable. This reduces the memory usage of the test case reported in issue #72 from 21MB to 17.5MB and should reduce the amount of space consumed by AST nodes in general. | ||||
* | Fuller support for qualifiers in array dimensions. | Eli Bendersky | 2014-01-25 | 1 | -1/+5 |
| | | | | Added a field to the ArrayDecl node and modified tests | ||||
* | moar cleanups | Eli Bendersky | 2013-09-25 | 1 | -6/+6 |
| | |||||
* | Cosmetic whitespace fixes | Eli Bendersky | 2013-09-24 | 1 | -188/+188 |
| | |||||
* | Fix comment and trim trailing whitespace | Eli Bendersky | 2013-01-16 | 1 | -2/+2 |
| | |||||
* | Issue #83: Distinguish initializer lists from expression lists | Eli Bendersky | 2012-12-25 | 1 | -2/+6 |
| | |||||
* | Transform the AST to create a correct representation of the cases inside a ↵ | Eli Bendersky | 2012-02-03 | 1 | -2/+2 |
| | | | | switch statement | ||||
* | typo & cosmetic changes | Eli Bendersky | 2012-02-03 | 1 | -1/+1 |
| | |||||
* | * Added EmptyStatement node to represent an empty statement (sole ';'), with ↵ | eli.bendersky | 2011-10-16 | 1 | -0/+4 |
| | | | | | | tests and c-to-c support * Added sys.path update in _build_tables.py to enable it to run correctly from the pycparser folder | ||||
* | * added some material to the explore_ast.py example | eli.bendersky | 2011-08-31 | 1 | -1/+1 |
| | | | | * some cosmetic changes | ||||
* | 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 | 1 | -1/+1 |
| | | | | This means only Python 2.6 and later is supported in 2.x | ||||
* | The name of a NamedInitializer node was turned into a sequence of nodes | eli.bendersky | 2010-12-10 | 1 | -2/+4 |
| | | | | | | 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 | -0/+178 |