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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
cython
Commits
30b3942c
Commit
30b3942c
authored
Aug 14, 2011
by
Vitja Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set Entry.is_arg for all the arguments
parent
d8fc2565
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+2
-0
No files found.
Cython/Compiler/Nodes.py
View file @
30b3942c
...
@@ -2268,6 +2268,7 @@ class DefNode(FuncDefNode):
...
@@ -2268,6 +2268,7 @@ class DefNode(FuncDefNode):
arg
.
entry
.
init
=
"0"
arg
.
entry
.
init
=
"0"
else
:
else
:
arg
.
entry
=
self
.
declare_argument
(
env
,
arg
)
arg
.
entry
=
self
.
declare_argument
(
env
,
arg
)
arg
.
entry
.
is_arg
=
1
arg
.
entry
.
used
=
1
arg
.
entry
.
used
=
1
arg
.
entry
.
is_self_arg
=
arg
.
is_self_arg
arg
.
entry
.
is_self_arg
=
arg
.
is_self_arg
if
arg
.
hdr_type
:
if
arg
.
hdr_type
:
...
@@ -2284,6 +2285,7 @@ class DefNode(FuncDefNode):
...
@@ -2284,6 +2285,7 @@ class DefNode(FuncDefNode):
else
:
else
:
type
=
py_object_type
type
=
py_object_type
entry
=
env
.
declare_var
(
arg
.
name
,
type
,
arg
.
pos
)
entry
=
env
.
declare_var
(
arg
.
name
,
type
,
arg
.
pos
)
entry
.
is_arg
=
1
entry
.
used
=
1
entry
.
used
=
1
entry
.
init
=
"0"
entry
.
init
=
"0"
entry
.
xdecref_cleanup
=
1
entry
.
xdecref_cleanup
=
1
...
...
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