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
Boxiang Sun
cython
Commits
4359a047
Commit
4359a047
authored
Oct 31, 2012
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix using non-encoded strings as identifiers.
parent
857771c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+2
-2
No files found.
Cython/Compiler/Nodes.py
View file @
4359a047
...
...
@@ -706,7 +706,7 @@ class CArgDeclNode(Node):
# We fix that here.
if
isinstance
(
self
.
declarator
,
CNameDeclaratorNode
)
and
self
.
declarator
.
name
==
''
:
if
nonempty
:
self
.
declarator
.
name
=
self
.
base_type
.
name
self
.
declarator
.
name
=
EncodedString
(
self
.
base_type
.
name
)
self
.
base_type
.
name
=
None
self
.
base_type
.
is_basic_c_type
=
False
could_be_name
=
True
...
...
@@ -850,7 +850,7 @@ class CSimpleBaseTypeNode(CBaseTypeNode):
## type = Builtin.type_type
else
:
type
=
py_object_type
self
.
arg_name
=
self
.
name
self
.
arg_name
=
EncodedString
(
self
.
name
)
else
:
if
self
.
templates
:
if
not
self
.
name
in
self
.
templates
:
...
...
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