Commit Graph

11 Commits

Author SHA1 Message Date
Dave Halter
e5f09e1c7d Fix an issue with end_pos of a module. 2016-07-08 00:03:52 +02:00
Dave Halter
c4906e0e3f Rework the parser so we can use arbitrary start nodes of the syntax.
This also includes a rework for error recovery in the parser. This is now just possible for file_input parsing, which means for full files.
Includes also a refactoring of the tokenizer. No more do we have to add an additional newline, because it now works correctly (removes certain confusion.
2015-12-20 22:25:41 +01:00
Dave Halter
07156b427c Fix some compatibilty issues in the test suite for Python 2.7. 2015-02-09 14:15:25 +01:00
Dave Halter
4a07f97f10 Reenable a few get_code tests. 2015-01-27 01:19:09 +01:00
Dave Halter
39e869d146 Test added newline module end_pos as well. 2015-01-26 22:02:11 +01:00
Dave Halter
07c60d7ff6 Fix DEDENT issues in _remove_newline. 2015-01-26 21:17:50 +01:00
Dave Halter
61e2bba380 Tests and implementation to remove the last newline again in the parser tree, to be able to exactly reproduce the parser input. 2015-01-26 21:07:14 +01:00
Dave Halter
b7bf8d515c support for completions on return statements. 2014-06-22 12:05:22 +02:00
Dave Halter
8e847f4982 fix python 2.7 issues. the parser now only takes unicode inputs 2014-02-23 11:44:32 +01:00
Dave Halter
040ea2b735 fix a few annoyances to be quicker to develop now (disabled a few tests for now) 2014-02-13 15:40:51 +01:00
Dave Halter
6939e3e18f moved test_get_code to test_parser 2014-02-12 11:33:46 +01:00