зеркало из https://github.com/github/codeql.git
Python: Fix syntax error locations
This commit is contained in:
Родитель
a2dc505c26
Коммит
7437cd4d85
|
@ -0,0 +1,6 @@
|
|||
with (
|
||||
CtxManager1() as example1,
|
||||
CtxManager2() as example2,
|
||||
CtxManager3() as example3,
|
||||
):
|
||||
pass
|
|
@ -0,0 +1,3 @@
|
|||
import python
|
||||
|
||||
select any(AstNode n)
|
|
@ -1 +1 @@
|
|||
| nonsense.py:1:2:1:2 | Syntax Error | Syntax Error (in Python 3). |
|
||||
| nonsense.py:0:1:0:1 | Syntax Error | Syntax Error (in Python 3). |
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
| bad_encoding.py:2:11:2:11 | Encoding Error | Extraction failed in bad_encoding.py with error 'utf-8' codec can't decode byte 0x9d in position 87: invalid start byte | 1 |
|
||||
| syntax_error.py:1:31:1:31 | Syntax Error | Extraction failed in syntax_error.py with error Syntax Error | 1 |
|
||||
| syntax_error.py:1:1:1:1 | Syntax Error | Extraction failed in syntax_error.py with error Syntax Error | 1 |
|
||||
|
|
Загрузка…
Ссылка в новой задаче