Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
13bf137c
Commit
13bf137c
authored
May 18, 2011
by
Vitja Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize node.cf_state to empty set
parent
865073a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Cython/Compiler/FlowControl.py
Cython/Compiler/FlowControl.py
+4
-0
No files found.
Cython/Compiler/FlowControl.py
View file @
13bf137c
...
@@ -219,6 +219,8 @@ class NameAssignment(object):
...
@@ -219,6 +219,8 @@ class NameAssignment(object):
is_arg
=
False
is_arg
=
False
def
__init__
(
self
,
lhs
,
rhs
,
entry
):
def
__init__
(
self
,
lhs
,
rhs
,
entry
):
if
lhs
.
cf_state
is
None
:
lhs
.
cf_state
=
set
()
self
.
lhs
=
lhs
self
.
lhs
=
lhs
self
.
rhs
=
rhs
self
.
rhs
=
rhs
self
.
entry
=
entry
self
.
entry
=
entry
...
@@ -236,6 +238,8 @@ class Uninitialized(object):
...
@@ -236,6 +238,8 @@ class Uninitialized(object):
class
NameReference
(
object
):
class
NameReference
(
object
):
def
__init__
(
self
,
node
,
entry
):
def
__init__
(
self
,
node
,
entry
):
if
node
.
cf_state
is
None
:
node
.
cf_state
=
set
()
self
.
node
=
node
self
.
node
=
node
self
.
entry
=
entry
self
.
entry
=
entry
self
.
pos
=
node
.
pos
self
.
pos
=
node
.
pos
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment