Commit Graph

31 Commits

Author SHA1 Message Date
Dave Halter
4f6368e7eb Now ErrorLeaf and ErrorNode are part of the syntax tree. This makes probably sense. The documentation will follow once it's clear how they will shape out. 2016-05-30 00:34:58 +02:00
Dave Halter
582b9b01af Get invalid INDENTs working.
The following DEDENT's are removed.
2015-01-12 12:22:57 +01:00
Dave Halter
f8570b1f03 Test for error recovery with try statements. 2015-01-09 18:02:15 +01:00
Dave Halter
3fb1934462 Fix invalid test issues. 2014-11-29 01:35:26 +01:00
Dave Halter
43c01afcfc invalid.py test changes. Error recovery will be different from the old one. 2014-11-28 21:58:44 +01:00
Dave Halter
e0d0572d7f fix for an issue with commas in statements 2014-05-04 02:20:46 +02:00
Dave Halter
c44b88adc3 Error token handling with dots in front. 2014-05-03 12:39:20 +02:00
Dave Halter
27f01ca1f6 use Param.stars to avoid certain syntax error params to cause an exception 2014-04-20 13:38:10 +02:00
Dave Halter
60ff2bc088 fix an invalid statement that has changed because of changes to the parser. 2014-03-09 11:56:29 +01:00
David Halter
230bf724a2 empty asserts should not lead to broken parsers 2013-08-17 23:04:01 +04:30
David Halter
e63783f122 test for empty decorators 2013-08-16 11:02:22 +04:30
David Halter
18e561f332 fix problem that strings are no function calls 2013-07-24 16:11:51 +02:00
David Halter
52c8340d72 invalid goto syntax 2013-07-23 00:19:58 +02:00
David Halter
0dfe2f44a5 test for dots in params (happens sometimes by accident when generating builtins) 2013-07-19 02:40:17 +02:00
David Halter
c1e805d7b0 fixed invalid list comprehension tests 2013-02-22 23:06:59 +04:30
David Halter
211ad9a640 fixed other part of jedi-vim issue 8, 'import x as' caused parsing error 2012-10-16 12:08:41 +02:00
David Halter
9cb9e53922 ignore multiple param names 2012-10-10 23:17:58 +02:00
David Halter
74fe520597 invalid for loops completion should work now 2012-10-01 09:51:57 +02:00
David Halter
49ec21a404 invalid list comprehensions should not raise exceptions anymore 2012-08-28 00:37:50 +02:00
David Halter
e28d7f0cdf cleaning / pep8 2012-08-23 14:45:29 +02:00
David Halter
2c66af7868 fixed possibility of StopIteration Exception to happen with wrong written ternary operators 2012-08-23 02:26:42 +02:00
David Halter
1571931088 python 2.5 compatibility (future import) 2012-08-11 00:16:55 +02:00
David Halter
11808d8fa3 catched some errors of invalid code, that was caused by imbalanced closing brackets 2012-08-07 10:11:18 +02:00
David Halter
f4db5e8a47 added __ to builtin-mixin instance variables, which should decrease visibility 2012-08-07 01:22:32 +02:00
David Halter
972b4bd13d parentheses work now in import statements (tested) 2012-07-13 01:00:44 +02:00
David Halter
12970f80ae fixed an index problem with the parser, which could happen with really special code 2012-07-12 12:01:28 +02:00
David Halter
e78ba60a47 changed many tests from old completion tests to type tests, which brings more security 2012-07-06 01:37:04 +02:00
David Halter
cffa236fc2 fix a little error that caused the completion not to work with if/try statements 2012-06-24 20:19:19 +02:00
David Halter
9523d3c938 fully functional classes 2012-06-12 00:45:18 +02:00
David Halter
c0d9cbf0b6 instances are basically working now, tests are not -> satisfy tests! 2012-05-01 04:59:40 +02:00
David Halter
0d083782ab invalid code testing 2012-04-25 10:21:20 +02:00