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
b1d62ad5
Commit
b1d62ad5
authored
7 years ago
by
Nils Braun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace the content instead of calling the copy-assignment, which is not implemented
parent
ab7b75cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+5
-1
No files found.
Cython/Compiler/ExprNodes.py
View file @
b1d62ad5
...
@@ -2284,6 +2284,10 @@ class NameNode(AtomicExprNode):
...
@@ -2284,6 +2284,10 @@ class NameNode(AtomicExprNode):
code
.
putln
(
'%s = %s;'
%
(
self
.
result
(),
result
))
code
.
putln
(
'%s = %s;'
%
(
self
.
result
(),
result
))
else
:
else
:
result
=
rhs
.
result_as
(
self
.
ctype
())
result
=
rhs
.
result_as
(
self
.
ctype
())
if
is_pythran_expr
(
self
.
type
):
code
.
putln
(
'new (&%s) decltype(%s){%s};'
%
(
self
.
result
(),
self
.
result
(),
result
))
else
:
code
.
putln
(
'%s = %s;'
%
(
self
.
result
(),
result
))
code
.
putln
(
'%s = %s;'
%
(
self
.
result
(),
result
))
if
debug_disposal_code
:
if
debug_disposal_code
:
print
(
"NameNode.generate_assignment_code:"
)
print
(
"NameNode.generate_assignment_code:"
)
...
...
This diff is collapsed.
Click to expand it.
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