summaryrefslogtreecommitdiff
path: root/pycparser/_c_ast.cfg
Commit message (Collapse)AuthorAgeFilesLines
* Add support for #pragmaJulian Hammer2015-10-201-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 documentationEli Bendersky2015-05-101-1/+1
|
* Decrease memory usage of pycparser by using __slots__ in AST nodes.Eli Bendersky2015-04-181-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 Bendersky2014-01-251-1/+5
| | | | Added a field to the ArrayDecl node and modified tests
* moar cleanupsEli Bendersky2013-09-251-6/+6
|
* Cosmetic whitespace fixesEli Bendersky2013-09-241-188/+188
|
* Fix comment and trim trailing whitespaceEli Bendersky2013-01-161-2/+2
|
* Issue #83: Distinguish initializer lists from expression listsEli Bendersky2012-12-251-2/+6
|
* Transform the AST to create a correct representation of the cases inside a ↵Eli Bendersky2012-02-031-2/+2
| | | | switch statement
* typo & cosmetic changesEli Bendersky2012-02-031-1/+1
|
* * Added EmptyStatement node to represent an empty statement (sole ';'), with ↵eli.bendersky2011-10-161-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 exampleeli.bendersky2011-08-311-1/+1
| | | | * some cosmetic changes
* 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-181-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 nodeseli.bendersky2010-12-101-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.01eli.bendersky2010-12-041-0/+178