mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed parsing error in StatementParsing.parseSimpleStatement (EA-30244)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
bb = yield dd = cc
|
||||
@@ -0,0 +1,19 @@
|
||||
PyFile:EqYieldEq.py
|
||||
PyAssignmentStatement
|
||||
PyTargetExpression: bb
|
||||
PsiElement(Py:IDENTIFIER)('bb')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(Py:EQ)('=')
|
||||
PsiWhiteSpace(' ')
|
||||
PyYieldExpression
|
||||
PsiElement(Py:YIELD_KEYWORD)('yield')
|
||||
PsiWhiteSpace(' ')
|
||||
PyReferenceExpression: dd
|
||||
PsiElement(Py:IDENTIFIER)('dd')
|
||||
PsiErrorElement:Cannot assign to 'yield' expression
|
||||
<empty list>
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(Py:EQ)('=')
|
||||
PsiWhiteSpace(' ')
|
||||
PyReferenceExpression: cc
|
||||
PsiElement(Py:IDENTIFIER)('cc')
|
||||
Reference in New Issue
Block a user