Commit Graph

14 Commits

Author SHA1 Message Date
Dave Halter
9c4bf8cec4 Add error code for return outside function. 2017-07-20 00:20:22 +02:00
Dave Halter
d21504e2ca break should be in loop. 2017-07-20 00:11:15 +02:00
Dave Halter
4a86571b21 Add 'continue' not properly in loop 2017-07-19 23:52:41 +02:00
Dave Halter
4919eccf00 Add 'continue' not supported inside 'finally' clause. 2017-07-19 23:33:16 +02:00
Dave Halter
944fe5a896 Fix the last IndentationError. 2017-07-19 22:15:20 +02:00
Dave Halter
d52c8651d7 Fix a 2.7 error. 2017-07-19 21:58:38 +02:00
Dave Halter
bf5190c7bf Add SyntaxError: too many statically nested blocks. 2017-07-19 21:56:06 +02:00
Dave Halter
65df539e97 Better matching syntax errors. 2017-07-19 20:56:31 +02:00
Dave Halter
756587ae4a Add tests to check if python returns the same errors as the parser. 2017-07-19 20:54:23 +02:00
Dave Halter
6876e1b7c0 Use ERROR_DEDENT instead of ERRORTOKEN for wrong dedents. 2017-07-19 20:15:06 +02:00
Dave Halter
569cb99ca7 Start scanning for indentation errors. 2017-07-19 18:45:58 +02:00
Dave Halter
f6b3b1cc24 Make version a keyword only argument in load_grammar. 2017-07-14 18:28:03 +02:00
Dave Halter
b3923e65e8 Try to add syntax errors to pep8 normalizing. 2017-07-10 23:04:54 +02:00
Dave Halter
53cf408d99 Add some tests for python error listing. 2017-07-09 16:57:27 +02:00