mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
stack overflow fix: adjust parser so that list comp variable is PyTargetExpression rather than PyReferenceExpression
This commit is contained in:
@@ -7,7 +7,7 @@ PyFile:ConditionalParenLambda.py
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(Py:FOR_KEYWORD)('for')
|
||||
PsiWhiteSpace(' ')
|
||||
PyReferenceExpression: f
|
||||
PyTargetExpression
|
||||
PsiElement(Py:IDENTIFIER)('f')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(Py:IN_KEYWORD)('in')
|
||||
|
||||
@@ -7,7 +7,7 @@ PyFile:LambdaComprehension.py
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(Py:FOR_KEYWORD)('for')
|
||||
PsiWhiteSpace(' ')
|
||||
PyReferenceExpression: x
|
||||
PyTargetExpression
|
||||
PsiElement(Py:IDENTIFIER)('x')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(Py:IN_KEYWORD)('in')
|
||||
|
||||
Reference in New Issue
Block a user