Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prepare 2.16 for releaserelease_v2.16 | Eli Bendersky | 2016-10-18 | 1 | -2/+2 |
| | |||||
* | Prepare for releasing v2.15release_v2.15 | Eli Bendersky | 2016-10-18 | 1 | -1/+1 |
| | |||||
* | Issue #116: Fix coord assignment to compound statements | Eli Bendersky | 2016-10-11 | 1 | -0/+2 |
| | |||||
* | Issue #116: Fix line number assignment to EmptyStatement | Eli Bendersky | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | Improve the behavior of pathological bad string literals a bit. | Eli Bendersky | 2016-10-10 | 1 | -1/+1 |
| | | | | | By making the first * non-greedy, performance is ~10-15% better; it still demonstrates pahological backtracking slowness (issue #61). | ||||
* | Adding test for exercising issue #61 | Eli Bendersky | 2016-10-10 | 1 | -1/+1 |
| | | | | | The test shows that on a simple lexer level the issue doesn't manifest. It does, however, manifest if parsing a file. | ||||
* | Fix eliben/pycparser#87 : offsetof() support is incomplete | ksero | 2016-09-09 | 1 | -1/+16 |
| | |||||
* | report filename if error is "at end of input" | Julian Hammer | 2016-08-16 | 1 | -1/+1 |
| | |||||
* | Allow user to decide which lexer the parser uses. | Erik Soma | 2016-07-25 | 1 | -2/+7 |
| | |||||
* | Protected expressions in ternary operator with paranthesis. | Daniel Murdin | 2016-07-14 | 1 | -3/+3 |
| | |||||
* | Upgrade ply to 3.8 | Frederick Wagner | 2016-04-18 | 7 | -1411/+1759 |
| | | | | The new version includes some bugfixes that affect downstream projects. | ||||
* | Fix parsing of extra semi-colons inside structure declarations. | Eli Bendersky | 2016-03-19 | 1 | -1/+9 |
| | | | | Fixes #117 | ||||
* | Fix trivial comment typo. | Matthew Fernandez | 2016-03-09 | 1 | -1/+1 |
| | |||||
* | Merge pull request #109 from jamie-pate/master | Eli Bendersky | 2015-12-15 | 1 | -1/+1 |
|\ | | | | | Update c_generator to add {} around nested NamedInitializers | ||||
| * | Update c_generator to add {} around nested NamedInitializers | Jamie Pate | 2015-12-15 | 1 | -1/+1 |
| | | |||||
* | | fixed #107 "No coord for Prgama Node" | Julian Hammer | 2015-12-15 | 1 | -2/+2 |
|/ | |||||
* | Add support for #pragma | Julian Hammer | 2015-10-20 | 5 | -11/+44 |
| | | | | | | | | | | | | 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. | ||||
* | Preparing for release 2.14release_v2.14 | Eli Bendersky | 2015-06-09 | 1 | -1/+1 |
| | |||||
* | Added taboutputdir parameter to control outputdir for tab files | Shai Berger | 2015-06-09 | 1 | -3/+10 |
| | |||||
* | Update version and CHANGES for 2.13 releaserelease_v2.13 | Eli Bendersky | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | Various cosmetic updates to documentation | Eli Bendersky | 2015-05-10 | 10 | -11/+11 |
| | |||||
* | Adding support for empty initializer lists. | Eli Bendersky | 2015-05-10 | 1 | -2/+6 |
| | | | | The idea comes from #79 but the implementation is somewhat different. | ||||
* | Adding support for offsetof() | Eli Bendersky | 2015-05-09 | 2 | -1/+10 |
| | |||||
* | Release 2.12release_v2.12 | Eli Bendersky | 2015-04-21 | 1 | -1/+1 |
| | |||||
* | Support weakref to AST objects. | Eli Bendersky | 2015-04-21 | 3 | -49/+49 |
| | | | | | | | weakref support was broken by setting __slots__ on AST objects to conserve memory. Reinstate it. See issue #76, #75 | ||||
* | Prepare for release 2.11release_v2.11 | Eli Bendersky | 2015-04-21 | 2 | -3/+1 |
| | |||||
* | Cosmetic cleanups | Eli Bendersky | 2015-04-20 | 1 | -2/+0 |
| | |||||
* | Fix parsing order of nested PtrDecls | Eli Bendersky | 2015-04-20 | 1 | -12/+28 |
| | | | | Closes #68 | ||||
* | Cosmetic cleanups | Eli Bendersky | 2015-04-20 | 1 | -1/+0 |
| | |||||
* | Fix parsing of array decls | Eli Bendersky | 2015-04-20 | 1 | -3/+4 |
| | | | | | After qualifiers were added, some problems seeped in assigning dimensions properly. | ||||
* | Allow binary constants (e.g.: 0b01010) | Konstanty Bialkowski | 2015-04-20 | 2 | -1/+9 |
| | | | - Add lexer and parser tests. | ||||
* | Add __slots__ to the Coord class. | Eli Bendersky | 2015-04-18 | 1 | -0/+1 |
| | | | | This further reduces memory usage for large inputs (#72) | ||||
* | Decrease memory usage of pycparser by using __slots__ in AST nodes. | Eli Bendersky | 2015-04-18 | 4 | -25/+77 |
| | | | | | | | | | 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. | ||||
* | adds visit_FuncDecl method to CGenerator + test | Spencer Russell | 2015-02-20 | 1 | -2/+3 |
| | |||||
* | Align array dimension grammar with the C standard. | necase | 2015-01-11 | 1 | -23/+33 |
| | | | | | | | | | | | | | | | | The pycparser grammar for direct-declarators diverged with the C standard, which permits const, volatile, restrict, and static to be modifiers in the array dimension. The relevant grammar can be found in section 6.7.5. The old p_direct_declarator_3 was split into two rules, and the remaining p_direct_declarator rules were renumbered, preserving precedence. So p_direct_declarator_3 now matches array declarations with optional type qualifiers or assignment expressions; p_direct_declarator_4 matches declarations with the static keyword; p_direct_declarator_5 matches the variable-length array declarations; and p_direct_declarator_6 matches declarations with parentheses. | ||||
* | Merge pull request #59 from akiradeveloper/feature/fix-comma-op-assign | Eli Bendersky | 2014-10-05 | 1 | -1/+1 |
|\ | | | | | fix: Comma operator in Assignment | ||||
| * | fix: Comma operator in Assignment | Akira Hayakawa | 2014-09-20 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com> | ||||
* | | fix typo | Akira Hayakawa | 2014-09-20 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com> | ||||
* | fix: comma operator in ternary operator | Akira Hayakawa | 2014-09-20 | 1 | -19/+14 |
| | | | | Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com> | ||||
* | Fix #33 pragma error when '=' occurs. | wvi | 2014-09-09 | 1 | -1/+1 |
| | | | | '=' added to pppragma_ignore. | ||||
* | Bug in c_generator: children now returns a list of 2-tuples | Sye van der Veen | 2014-05-23 | 1 | -1/+1 |
| | |||||
* | Fix issue #27: handle unified wstring literals properly | Eli Bendersky | 2014-03-15 | 1 | -1/+1 |
| | |||||
* | Fix issue #28: coord for 'for' loops | Eli Bendersky | 2014-03-15 | 1 | -1/+2 |
| | |||||
* | fix for issue #24 | wayrick | 2014-02-06 | 1 | -1/+1 |
| | |||||
* | Fuller support for qualifiers in array dimensions. | Eli Bendersky | 2014-01-25 | 3 | -7/+27 |
| | | | | Added a field to the ArrayDecl node and modified tests | ||||
* | Add support for arr[const 10] in function declarations too; | Eli Bendersky | 2014-01-25 | 2 | -1/+2 |
| | | | | and move tests around. | ||||
* | allow "static" in array parameters (GH issue #21) | Robin Martinjak | 2014-01-22 | 1 | -1/+2 |
| | |||||
* | moar cleanups | Eli Bendersky | 2013-09-25 | 1 | -6/+6 |
| | |||||
* | cleanups | Eli Bendersky | 2013-09-25 | 3 | -30/+30 |
| | |||||
* | Cosmetic whitespace fixes | Eli Bendersky | 2013-09-24 | 2 | -231/+231 |
| |