Handle SyntaxErrors after new-lines specially

In some cases, when we handle SyntaxErrors we need to ensure that the
column number is correct for a 1-indexed report. In some cases, we also
need to account for the fact that the SyntaxError has happened "after" a
new-line. To extract and alter the row and column numbers, we've moved
the logic to a private static method on the FileChecker object to avoid
an overly complex method.

Closes #237
This commit is contained in:
Ian Cordasco 2016-10-23 07:02:43 -05:00
parent c17043ff3f
commit 7998734fe6
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A
3 changed files with 61 additions and 8 deletions

View file

@ -0,0 +1 @@
foo(